copyWith method
AppConfig
copyWith({
- String? termsUrl,
- String? privacyUrl,
- List<
RegistrationStep> ? registrationSteps, - List<
AuthMethod> ? authMethods,
Implementation
AppConfig copyWith({
String? termsUrl,
String? privacyUrl,
List<RegistrationStep>? registrationSteps,
List<AuthMethod>? authMethods,
}) {
return AppConfig(
termsUrl: termsUrl ?? this.termsUrl,
privacyUrl: privacyUrl ?? this.privacyUrl,
registrationSteps: registrationSteps ?? this.registrationSteps,
authMethods: authMethods ?? this.authMethods,
);
}