maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult legacy()?,
- TResult eip1559()?,
- TResult eip4844()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(
String to,
List<Map<String, dynamic>>? accessList,
String account,
int? chainId,
String? data,
BigInt? gas,
FeeValuesLegacy? feeValues,
BigInt? nonce,
BigInt? value,
dynamic connector)?
legacy,
TResult Function(
String to,
List<Map<String, dynamic>>? accessList,
String account,
int? chainId,
String? data,
BigInt? gas,
FeeValuesEIP1559? feeValues,
BigInt? nonce,
BigInt? value,
dynamic connector)?
eip1559,
TResult Function(
String to,
List<Map<String, dynamic>>? accessList,
String account,
int? chainId,
String? data,
BigInt? gas,
FeeValuesEIP4844? feeValues,
BigInt? nonce,
BigInt? value,
dynamic connector)?
eip4844,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;