copyWith method

GetPassportElement copyWith({
  1. PassportElementType? type,
  2. String? password,
})

Implementation

GetPassportElement copyWith({
  PassportElementType? type,
  String? password,
}) =>
    GetPassportElement(
      type: type ?? this.type,
      password: password ?? this.password,
    );