ItemDeprecated class

Item is deprecated with a note and optional since version.

SCALE encoding: enum index 2, followed by:

  • note: String
  • since: Option
Inheritance

Constructors

ItemDeprecated({required String deprecationNote, String? deprecationSince})
const

Properties

deprecationNote → String
Deprecation note explaining why the item is deprecated
final
deprecationSince → String?
Version since which the item has been deprecated
final
hashCode → int
The hash code for this object.
no setterinherited
isDeprecated → bool
Check if this item is deprecated
no setteroverride
note → String?
Get deprecation note if available
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
since → String?
Get deprecation since version if available
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited