SendOTPModule.fromMap constructor

SendOTPModule.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory SendOTPModule.fromMap(Map<String, dynamic> map) {
  return SendOTPModule(
    phoneNumberModule: PhoneNumberModule.fromMap(
        map['phoneNumberModule'] as Map<String, dynamic>),
    customText: map['customText'] as String?,
  );
}