copyWith method

KeyModel copyWith({
  1. num? version,
  2. String? id,
  3. String? address,
  4. 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,
  );
}