19 lines
527 B
Dart
19 lines
527 B
Dart
import 'package:labs/CourseStatus.dart';
|
|
import 'package:labs/domain/models/Student.dart';
|
|
|
|
import '../domain/models/home.dart';
|
|
import 'api_interface.dart';
|
|
|
|
class MockRepo extends ApiInterface {
|
|
@override
|
|
Future<HomeData?> loadData({OnErrorCallback? onError}) async {
|
|
return HomeData (
|
|
|
|
);
|
|
/*return [
|
|
Student('Stroev V.', 19, [CourseStatus.Biology.name]),
|
|
Student('Samoilov K.', 20, [CourseStatus.Chemistry.name]),
|
|
Student('Belov M.', 21, [CourseStatus.ComputerScience.name]),
|
|
];*/
|
|
}
|
|
} |