CreateInstance<T> typedef Null safety

CreateInstance<T> = FutureOr<T> Function()

Implementation

typedef CreateInstance<T> = FutureOr<T> Function();