AuthModule.fromMap constructor

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

Implementation

factory AuthModule.fromMap(Map<String, dynamic> map) {
  return AuthModule(
    phone: PhoneNumberModule.fromMap(map['phone'] as Map<String, dynamic>),
    password: map['password'] as String,
  );
}