maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult legacy(
    1. List<Map<String, dynamic>>? accessList,
    2. String? account,
    3. int? chainId,
    4. String? data,
    5. BigInt? gas,
    6. FeeValuesLegacy? feeValues,
    7. BigInt? nonce,
    8. String? to,
    9. BigInt? value,
    )?,
  2. TResult eip1559(
    1. List<Map<String, dynamic>>? accessList,
    2. String? account,
    3. int? chainId,
    4. String? data,
    5. BigInt? gas,
    6. FeeValuesEIP1559? feeValues,
    7. BigInt? nonce,
    8. String? to,
    9. BigInt? value,
    )?,
  3. TResult eip4844(
    1. List<Map<String, dynamic>>? accessList,
    2. String? account,
    3. int? chainId,
    4. String? data,
    5. BigInt? gas,
    6. FeeValuesEIP4844? feeValues,
    7. BigInt? nonce,
    8. String? to,
    9. BigInt? value,
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

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