copyWith method

  1. @override
WidgetQueryTypeSentTransaction copyWith({
  1. WidgetQueryWallet? wallet,
  2. String? msgHash,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
WidgetQueryTypeSentTransaction copyWith({
  WidgetQueryWallet? wallet,
  String? msgHash,
}) => WidgetQueryTypeSentTransaction(
  wallet: wallet ?? this.wallet,
  msgHash: msgHash ?? this.msgHash,
);