maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult createWallet()?,
- TResult fiatDeposit()?,
- TResult send()?,
- TResult receive()?,
- TResult swap()?,
- TResult receiveNFT()?,
- TResult stakeTokens()?,
- TResult unstakeTokens()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(int timestamp, @JsonKey(name: '_id') String id,
String name, String? txHash, String status, int? blockNumber)?
createWallet,
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,
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,
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,
TResult Function(int timestamp, @JsonKey(name: '_id') String id,
String name, String? txHash, String status, int? blockNumber)?
swap,
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,
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,
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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;