Deprecated constructor Null safety
- String message
Create a deprecation annotation which specifies the migration path and expiration of the annotated feature.
message argument should be readable by programmers, and should state
an alternative feature (if available) as well as when an annotated feature
is expected to be removed.