isDeprecated property Null safety

bool isDeprecated

Declares this operation to be deprecated.

Consumers SHOULD refrain from usage of the declared operation. Default value is false.

Implementation

bool get isDeprecated => _deprecated ?? false;
void isDeprecated=(bool f)

Implementation

set isDeprecated(bool f) {
  _deprecated = f;
}