when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult createWallet(),
- required TResult fiatDeposit(),
- required TResult send(),
- required TResult receive(),
- required TResult swap(),
- required TResult receiveNFT(),
- required TResult stakeTokens(),
- required TResult unstakeTokens(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(int timestamp, @JsonKey(name: '_id') String id,
String name, String? txHash, String status, int? blockNumber)
createWallet,
required TResult Function(
int timestamp,
@JsonKey(name: '_id') String id,
String name,
String? txHash,
String status,
int? blockNumber,
String tokenAddress,
String? from,
String to,
BigInt value,
String tokenName,
String tokenSymbol,
int tokenDecimal)
fiatDeposit,
required TResult Function(
int timestamp,
@JsonKey(name: '_id') String id,
String name,
String? txHash,
String status,
int? blockNumber,
String tokenAddress,
String from,
String to,
BigInt value,
String tokenName,
String tokenSymbol,
int tokenDecimal)
send,
required TResult Function(
int timestamp,
@JsonKey(name: '_id') String id,
String name,
String? txHash,
String status,
int? blockNumber,
String tokenAddress,
String from,
String to,
BigInt value,
String tokenName,
String tokenSymbol,
int tokenDecimal)
receive,
required TResult Function(int timestamp, @JsonKey(name: '_id') String id,
String name, String? txHash, String status, int? blockNumber)
swap,
required TResult Function(
int timestamp,
@JsonKey(name: '_id') String id,
String name,
String? txHash,
String status,
int? blockNumber,
String tokenAddress,
String from,
String to,
String tokenName,
String tokenSymbol,
int tokenDecimal)
receiveNFT,
required TResult Function(
int timestamp,
@JsonKey(name: '_id') String id,
String name,
String? txHash,
String status,
int? blockNumber,
String tokenAddress,
String from,
String to,
BigInt value,
String tokenName,
String tokenSymbol,
int tokenDecimal)
stakeTokens,
required TResult Function(
int timestamp,
@JsonKey(name: '_id') String id,
String name,
String? txHash,
String status,
int? blockNumber,
String tokenAddress,
String from,
String to,
BigInt value,
String tokenName,
String tokenSymbol,
int tokenDecimal)
unstakeTokens,
}) =>
throw _privateConstructorUsedError;