getStudents method

  1. @override
Future<List<StudentDto>> getStudents(
  1. ISchoolCourseDto course
)
override

Returns the mock student and the authors of this app.

Implementation

@override
Future<List<StudentDto>> getStudents(ISchoolCourseDto course) async {
  return studentsResult ??
      [
        (id: '111592347', name: '王大同'),
        (id: '111360109', name: '何承軒'),
        (id: '112360104', name: '孫培鈞'),
        (id: '111590453', name: '張竣崴'),
        (id: '112810006', name: '李圓凱'),
      ];
}