VariantDeprecated class

Variant is deprecated with a note and optional since version.

SCALE encoding: enum index 2, followed by:

  • note: String
  • since: Option
Inheritance

Constructors

VariantDeprecated({required String note, String? since})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDeprecated → bool
Always true since presence in map means deprecated
no setterinherited
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