UnstakeTokensAction class abstract

Inheritance

Constructors

UnstakeTokensAction({@TimestampConverter() @JsonKey(name: 'updatedAt') int timestamp, @JsonKey(name: '_id') required String id, String name, String? txHash, required String status, int? blockNumber, required String userOpHash, required String description, List<TokenEvent> sent, List<TokenEvent> received})
const
factory
UnstakeTokensAction.fromJson(Map<String, dynamic> json)
factory

Properties

blockNumber int?
no setter
copyWith → _$$UnstakeTokensActionImplCopyWith<_$UnstakeTokensActionImpl>
Create a copy of WalletAction with the given fields replaced by the non-null parameter values.
no setter
description String
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
no setter
name String
no setter
received List<TokenEvent>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sent List<TokenEvent>
no setter
status String
no setter
timestamp int
no setter
txHash String?
no setter
userOpHash String
no setter

Methods

compareTo(WalletAction? other) int
Compares this WalletAction to other, based on their timestamps.
inherited
isConfirmed() bool
Checks if the wallet action has been confirmed.
inherited
isFailed() bool
Checks if the wallet action has failed.
inherited
isPending() bool
Checks if the wallet action is in a pending state.
inherited
map<TResult extends Object?>({required TResult batchTransaction(BatchTransaction value), required TResult tokenTransfer(TokenTransfer value), required TResult tokenReceive(TokenReceive value), required TResult nftReceive(NftReceive value), required TResult swapTokens(SwapTokens value), required TResult nftTransfer(NftTransfer value), required TResult approveToken(ApproveToken value), required TResult stakeTokens(StakeTokensAction value), required TResult unstakeTokens(UnstakeTokensAction value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? batchTransaction(BatchTransaction value)?, TResult? tokenTransfer(TokenTransfer value)?, TResult? tokenReceive(TokenReceive value)?, TResult? nftReceive(NftReceive value)?, TResult? swapTokens(SwapTokens value)?, TResult? nftTransfer(NftTransfer value)?, TResult? approveToken(ApproveToken value)?, TResult? stakeTokens(StakeTokensAction value)?, TResult? unstakeTokens(UnstakeTokensAction value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult batchTransaction(BatchTransaction value)?, TResult tokenTransfer(TokenTransfer value)?, TResult tokenReceive(TokenReceive value)?, TResult nftReceive(NftReceive value)?, TResult swapTokens(SwapTokens value)?, TResult nftTransfer(NftTransfer value)?, TResult approveToken(ApproveToken value)?, TResult stakeTokens(StakeTokensAction value)?, TResult unstakeTokens(UnstakeTokensAction value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult batchTransaction(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult tokenTransfer(int timestamp, String id, String name, String? txHash, String userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult tokenReceive(int timestamp, String id, String name, String? txHash, String? userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult nftReceive(int timestamp, String id, String name, String? txHash, String? userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult swapTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult nftTransfer(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult approveToken(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult stakeTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult unstakeTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this WalletAction to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult batchTransaction(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult tokenTransfer(int timestamp, String id, String name, String? txHash, String userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult tokenReceive(int timestamp, String id, String name, String? txHash, String? userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult nftReceive(int timestamp, String id, String name, String? txHash, String? userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult swapTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult nftTransfer(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult approveToken(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult stakeTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received), required TResult unstakeTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? batchTransaction(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? tokenTransfer(int timestamp, String id, String name, String? txHash, String userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? tokenReceive(int timestamp, String id, String name, String? txHash, String? userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? nftReceive(int timestamp, String id, String name, String? txHash, String? userOpHash, String status, int? blockNumber, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? swapTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? nftTransfer(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? approveToken(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? stakeTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?, TResult? unstakeTokens(int timestamp, String id, String name, String? txHash, String status, int? blockNumber, String userOpHash, String description, List<TokenEvent> sent, List<TokenEvent> received)?}) → TResult?
inherited

Operators

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