18 lines
521 B
Dart
Raw Normal View History

2024-10-22 08:55:54 +04:00
import 'package:labs/CourseStatus.dart';
import 'package:labs/domain/models/Student.dart';
2024-10-30 22:39:56 +04:00
import '../domain/models/home.dart';
2024-10-22 08:55:54 +04:00
import 'api_interface.dart';
class MockRepo extends ApiInterface {
@override
2024-10-30 22:39:56 +04:00
Future<HomeData?> loadData({OnErrorCallback? onError}) async {
2024-12-08 18:49:37 +04:00
return HomeData();
2024-10-30 22:39:56 +04:00
/*return [
2024-10-22 08:55:54 +04:00
Student('Stroev V.', 19, [CourseStatus.Biology.name]),
Student('Samoilov K.', 20, [CourseStatus.Chemistry.name]),
Student('Belov M.', 21, [CourseStatus.ComputerScience.name]),
2024-10-30 22:39:56 +04:00
];*/
2024-10-22 08:55:54 +04:00
}
2024-12-08 18:49:37 +04:00
}