copyWith method

TomKeyMaterial copyWith({
  1. String? passphrase,
  2. Uint8List? keyFileBytes,
  3. String? keyFileLocator,
})

Implementation

TomKeyMaterial copyWith({
  String? passphrase,
  Uint8List? keyFileBytes,
  String? keyFileLocator,
}) => TomKeyMaterial(
  passphrase: passphrase ?? this.passphrase,
  keyFileBytes: keyFileBytes ?? this.keyFileBytes,
  keyFileLocator: keyFileLocator ?? this.keyFileLocator,
);