copyWith method

CreateSubaccountCryptoModel copyWith({
  1. String? ciphertext,
  2. CipherparamsModel? cipherparams,
  3. String? cipher,
  4. String? kdf,
  5. KdfparamsModel? kdfparams,
  6. String? mac,
})

Implementation

CreateSubaccountCryptoModel copyWith({
  String? ciphertext,
  CipherparamsModel? cipherparams,
  String? cipher,
  String? kdf,
  KdfparamsModel? kdfparams,
  String? mac,
}) {
  return CreateSubaccountCryptoModel(
    ciphertext: ciphertext ?? this.ciphertext,
    cipherparams: cipherparams ?? this.cipherparams,
    cipher: cipher ?? this.cipher,
    kdf: kdf ?? this.kdf,
    kdfparams: kdfparams ?? this.kdfparams,
    mac: mac ?? this.mac,
  );
}