constructor method Null safety

  1. @override
T constructor()
override

Must return an instance of T.

Implementation

@override
T constructor() => _constructor();