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