when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required 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. required 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. required 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,
    ),
})
inherited

Implementation

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