registrarFor method Null safety

  1. @Deprecated('This method is redundant. It returns the object on which it is called. ' 'This feature was deprecated after v1.26.0-18.0.pre.')
Registrar registrarFor(
  1. Type key
)
Deprecated('This method is redundant. It returns the object on which it is called. ' 'This feature was deprecated after v1.26.0-18.0.pre.')">@Deprecated('This method is redundant. It returns the object on which it is called. ' 'This feature was deprecated after v1.26.0-18.0.pre.')

Returns this. The argument is ignored.

Implementation

@Deprecated(
  'This method is redundant. It returns the object on which it is called. '
  'This feature was deprecated after v1.26.0-18.0.pre.'
)
Registrar registrarFor(Type key) => this;