when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult legacy(
    1. List<Map> abi,
    2. String address,
    3. String functionName,
    4. List<Map<String, dynamic>>? accessList,
    5. String? account,
    6. List? args,
    7. int? chainId,
    8. String? dataSuffix,
    9. BigInt? gas,
    10. FeeValuesLegacy? feeValues,
    11. BigInt? nonce,
    12. BigInt? value,
    13. String? type,
    ),
  2. required TResult eip1559(
    1. List<Map<String, dynamic>> abi,
    2. String address,
    3. String functionName,
    4. List<Map<String, dynamic>>? accessList,
    5. String? account,
    6. List? args,
    7. int? chainId,
    8. String? dataSuffix,
    9. BigInt? gas,
    10. FeeValuesEIP1559? feeValues,
    11. BigInt? nonce,
    12. BigInt? value,
    13. String? type,
    ),
  3. required TResult eip4844(
    1. List<Map> abi,
    2. String address,
    3. String functionName,
    4. List<Map<String, dynamic>>? accessList,
    5. String? account,
    6. List? args,
    7. int? chainId,
    8. String? dataSuffix,
    9. BigInt? gas,
    10. FeeValuesEIP4844? feeValues,
    11. BigInt? nonce,
    12. BigInt? value,
    13. String? type,
    ),
})
inherited

Implementation

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