ResponseVerifyOTPModule.fromMap constructor

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

Implementation

factory ResponseVerifyOTPModule.fromMap(Map<String, dynamic> map) {
  return ResponseVerifyOTPModule(
    message: map['message'] as String,
    token: map['token'] as String?,
  );
}