copyWith method

TonWalletGaslessTransfersInfo copyWith({
  1. int? leftCount,
  2. int? resetDate,
  3. String? relayerAddress,
})

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

Implementation

TonWalletGaslessTransfersInfo copyWith({
  int? leftCount,
  int? resetDate,
  String? relayerAddress,
}) => TonWalletGaslessTransfersInfo(
  leftCount: leftCount ?? this.leftCount,
  resetDate: resetDate ?? this.resetDate,
  relayerAddress: relayerAddress ?? this.relayerAddress,
);