GradesRepository constructor Null safety

const GradesRepository(
  1. {required GradesProvider gradesProvider,
  2. required SubjectsProvider subjectsProvider}
)

Implementation

const GradesRepository({
  required GradesProvider gradesProvider,
  required SubjectsProvider subjectsProvider,
})  : _gradesProvider = gradesProvider,
      _subjectsProvider = subjectsProvider;