checked top-level constant
- @Deprecated('Use the `covariant` modifier instead')
Used to annotate a parameter of an instance method that overrides another method.
Indicates that this parameter may have a tighter type than the parameter on its superclass. The actual argument will be checked at runtime to ensure it is a subtype of the overridden parameter type.
Deprecated: This annotation is deprecated and will be
removed in a future release of package:meta
.
In Dart 2 and later, you can instead use the built-in covariant
modifier.
Implementation
@Deprecated('Use the `covariant` modifier instead')
const _Checked checked = _Checked();