Deprecated constructor
- String? message
Creates a deprecation annotation which specifies the migration path and expiration of the annotated feature.
The message is displayed as part of the warning. The message should be
aimed at the programmer using the annotated feature, and should recommend
an alternative (if available), and say when this feature is expected to
be removed if that is sooner or later than the next major version.
Implementation
const Deprecated(this.message) : _kind = _DeprecationKind.use;