copyWith method

SendOTPModule copyWith({
  1. String? event,
  2. PhoneNumberModule? phoneNumberModule,
  3. String? customText,
})

Implementation

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