TextTrack.from constructor Null safety

TextTrack.from(
  1. {required String mimetype,
  2. required String languageCode,
  3. required String uri}
)

Implementation

factory TextTrack.from(
    {required String mimetype,
    required String languageCode,
    required String uri}) {
  return new TextTrack(mimetype, languageCode, uri);
}