CoinbaseEntry class abstract

Constructors

CoinbaseEntry({@JsonKey(name: 'reward') required int reward})
const
factory
CoinbaseEntry.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$CoinbaseEntryImplCopyWith<_$CoinbaseEntryImpl>
no setter
hashCode int
The hash code for this object.
no setterinherited
reward int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult coinbase(CoinbaseEntry value), required TResult burn(BurnEntry value), required TResult incoming(IncomingEntry value), required TResult outgoing(OutgoingEntry value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? coinbase(CoinbaseEntry value)?, TResult? burn(BurnEntry value)?, TResult? incoming(IncomingEntry value)?, TResult? outgoing(OutgoingEntry value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult coinbase(CoinbaseEntry value)?, TResult burn(BurnEntry value)?, TResult incoming(IncomingEntry value)?, TResult outgoing(OutgoingEntry value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult coinbase(int reward)?, TResult burn(String asset, int amount)?, TResult incoming(String from, List<TransferInEntry> transfers)?, TResult outgoing(int fee, int nonce, List<TransferOutEntry> transfers)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult coinbase(int reward), required TResult burn(String asset, int amount), required TResult incoming(String from, List<TransferInEntry> transfers), required TResult outgoing(int fee, int nonce, List<TransferOutEntry> transfers)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? coinbase(int reward)?, TResult? burn(String asset, int amount)?, TResult? incoming(String from, List<TransferInEntry> transfers)?, TResult? outgoing(int fee, int nonce, List<TransferOutEntry> transfers)?}) → TResult?
inherited

Operators

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