PhaseCodec class

Codec for encoding and decoding Phase information

Phase indicates when during block execution an event was emitted:

  • ApplyExtrinsic: During extrinsic application (with extrinsic index)
  • Finalization: During block finalization
  • Initialization: During block initialization
Mixed-in types

Constructors

PhaseCodec()
const

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

decode(Input input) Phase
Decode phase information from input
override
encode(Phase value) Uint8List
Convert self to an owned vector.
inherited
encodeTo(Phase value, Output output) → void
Encode phase information to output
override
isSizeZero() bool
Is Size Zero
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sizeHint(Phase value) int
Calculate size hint for phase
override
toString() String
A string representation of this object.
inherited

Operators

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