futureOrType2 abstract method

  1. @Deprecated('Use futureOrType instead')
InterfaceType futureOrType2(
  1. DartType valueType
)

Return the instantiation of the built-in class FutureOr with the given valueType. The type has the nullability suffix of this provider.

Implementation

@Deprecated('Use futureOrType instead')
InterfaceType futureOrType2(DartType valueType);