copyWith method

SetPassportElement copyWith({
  1. InputPassportElement? element,
  2. String? password,
})

Implementation

SetPassportElement copyWith({
  InputPassportElement? element,
  String? password,
}) =>
    SetPassportElement(
      element: element ?? this.element,
      password: password ?? this.password,
    );