copyWith method
SendOTPModule
copyWith({
- String? event,
- PhoneNumberModule? phoneNumberModule,
- String? customText,
Implementation
SendOTPModule copyWith({
String? event,
PhoneNumberModule? phoneNumberModule,
String? customText,
}) {
return SendOTPModule(
phoneNumberModule: phoneNumberModule ?? this.phoneNumberModule,
customText: customText ?? this.customText,
);
}