copyWith method
KeyModel
copyWith({
- num? version,
- String? id,
- String? address,
- CreateSubaccountCryptoModel? crypto,
Implementation
KeyModel copyWith({
num? version,
String? id,
String? address,
CreateSubaccountCryptoModel? crypto,
}) {
return KeyModel(
version: version ?? this.version,
id: id ?? this.id,
address: address ?? this.address,
crypto: crypto ?? this.crypto,
);
}