ChainType class abstract

The type of a chain.

This can be used by tools to determine the type of a chain for displaying additional information or enabling additional features.

Implementers

Constructors

ChainType()
const
ChainType.decode(Input input)
factory
ChainType.fromJson(dynamic json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

codec → const $ChainTypeCodec
values → const $ChainType