Factory<T> typedef Null safety

Factory<T> = T Function()

Implementation

typedef Factory<T> = T Function();