instantiateToBounds method

  1. @Deprecated('Use TypeSystem.instantiateToBounds2() instead')
InterfaceType instantiateToBounds(
  1. {@required NullabilitySuffix nullabilitySuffix}
)
@Deprecated('Use TypeSystem.instantiateToBounds2() instead')

Create the InterfaceType for this class with type arguments that correspond to the bounds of the type parameters, and the given nullabilitySuffix.

Implementation

@Deprecated('Use TypeSystem.instantiateToBounds2() instead')
InterfaceType instantiateToBounds({
  @required NullabilitySuffix nullabilitySuffix,
});