copyWith method

  1. @override
MessagePassportDataReceived copyWith({
  1. List<EncryptedPassportElement>? elements,
  2. EncryptedCredentials? credentials,
})
override

Implementation

@override
MessagePassportDataReceived copyWith({
  List<EncryptedPassportElement>? elements,
  EncryptedCredentials? credentials,
}) =>
    MessagePassportDataReceived(
      elements: elements ?? this.elements,
      credentials: credentials ?? this.credentials,
    );