copyWith method

GetPassportAuthorizationFormAvailableElements copyWith({
  1. int? authorizationFormId,
  2. String? password,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

GetPassportAuthorizationFormAvailableElements copyWith({
  int? authorizationFormId,
  String? password,
}) =>
    GetPassportAuthorizationFormAvailableElements(
      authorizationFormId: authorizationFormId ?? this.authorizationFormId,
      password: password ?? this.password,
    );