BlockTag class

Annotations
  • @freezed

Constructors

BlockTag.earliest()
const
factory
BlockTag.finalized()
const
factory
BlockTag.latest()
const
factory
BlockTag.pending()
const
factory
BlockTag.safe()
const
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

map<TResult extends Object?>({required TResult latest(_BlockTagLatest value), required TResult earliest(_BlockTagEarliest value), required TResult pending(_BlockTagPending value), required TResult safe(_BlockTagSafe value), required TResult finalized(_BlockTagFinalized value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? latest(_BlockTagLatest value)?, TResult? earliest(_BlockTagEarliest value)?, TResult? pending(_BlockTagPending value)?, TResult? safe(_BlockTagSafe value)?, TResult? finalized(_BlockTagFinalized value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult latest(_BlockTagLatest value)?, TResult earliest(_BlockTagEarliest value)?, TResult pending(_BlockTagPending value)?, TResult safe(_BlockTagSafe value)?, TResult finalized(_BlockTagFinalized value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult latest()?, TResult earliest()?, TResult pending()?, TResult safe()?, TResult finalized()?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult latest(), required TResult earliest(), required TResult pending(), required TResult safe(), required TResult finalized()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? latest()?, TResult? earliest()?, TResult? pending()?, TResult? safe()?, TResult? finalized()?}) → TResult?
inherited

Operators

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