copyWith method
Implementation
TonWalletState copyWith({
String? address,
String? publicKey,
int? gramAmount,
bool? isBeingCreated,
bool? isBackupEnabled,
bool? canEnableBackup,
bool? canExportPhrase,
}) =>
TonWalletState(
address: address ?? this.address,
publicKey: publicKey ?? this.publicKey,
gramAmount: gramAmount ?? this.gramAmount,
isBeingCreated: isBeingCreated ?? this.isBeingCreated,
isBackupEnabled: isBackupEnabled ?? this.isBackupEnabled,
canEnableBackup: canEnableBackup ?? this.canEnableBackup,
canExportPhrase: canExportPhrase ?? this.canExportPhrase,
);