when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult call(),
- required TResult returnReceipt(),
- required TResult returnData(),
- required TResult panic(
- U8Array32 id,
- InstructionResult reason,
- int pc,
- int isField,
- U8Array32? contractId,
- required TResult revert(),
- required TResult log(),
- required TResult logData(),
- required TResult transfer(),
- required TResult transferOut(),
- required TResult scriptResult(
- ScriptExecutionResult result,
- int gasUsed
- required TResult messageOut(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
U8Array32 id,
U8Array32 to,
int amount,
U8Array32 assetId,
int gas,
int param1,
int param2,
int pc,
int isField)
call,
required TResult Function(U8Array32 id, int val, int pc, int isField)
returnReceipt,
required TResult Function(U8Array32 id, int ptr, int len, U8Array32 digest,
Uint8List data, int pc, int isField)
returnData,
required TResult Function(U8Array32 id, InstructionResult reason, int pc,
int isField, U8Array32? contractId)
panic,
required TResult Function(U8Array32 id, int ra, int pc, int isField) revert,
required TResult Function(
U8Array32 id, int ra, int rb, int rc, int rd, int pc, int isField)
log,
required TResult Function(U8Array32 id, int ra, int rb, int ptr, int len,
U8Array32 digest, Uint8List data, int pc, int isField)
logData,
required TResult Function(U8Array32 id, U8Array32 to, int amount,
U8Array32 assetId, int pc, int isField)
transfer,
required TResult Function(U8Array32 id, U8Array32 to, int amount,
U8Array32 assetId, int pc, int isField)
transferOut,
required TResult Function(ScriptExecutionResult result, int gasUsed)
scriptResult,
required TResult Function(
U8Array32 messageId,
U8Array32 sender,
U8Array32 recipient,
int amount,
U8Array32 nonce,
int len,
U8Array32 digest,
Uint8List data)
messageOut,
}) =>
throw _privateConstructorUsedError;