when<TResult extends Object?> method

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

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required 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,
  required 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,
  required 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,
}) =>
    throw _privateConstructorUsedError;