copyWith method
TransactionResponse
copyWith({
- String? digest,
- List<
String> ? signatures, - String? epoch,
- ExecutionStatus? status,
- String? transaction,
- TransactionEffects? effects,
- List<
Event> ? events, - List<
BalanceChange> ? balanceChanges, - Map<
String, String> ? objectTypes, - Uint8List? bcs,
- String? checkpoint,
- String? timestampMs,
- List<
CommandResult> ? commandResults,
Implementation
TransactionResponse copyWith({
String? digest,
List<String>? signatures,
String? epoch,
ExecutionStatus? status,
String? transaction,
TransactionEffects? effects,
List<Event>? events,
List<BalanceChange>? balanceChanges,
Map<String, String>? objectTypes,
Uint8List? bcs,
String? checkpoint,
String? timestampMs,
List<CommandResult>? commandResults,
}) {
return TransactionResponse(
digest: digest ?? this.digest,
signatures: signatures ?? this.signatures,
epoch: epoch ?? this.epoch,
status: status ?? this.status,
transaction: transaction ?? this.transaction,
effects: effects ?? this.effects,
events: events ?? this.events,
balanceChanges: balanceChanges ?? this.balanceChanges,
objectTypes: objectTypes ?? this.objectTypes,
bcs: bcs ?? this.bcs,
checkpoint: checkpoint ?? this.checkpoint,
timestampMs: timestampMs ?? this.timestampMs,
commandResults: commandResults ?? this.commandResults,
);
}