SubmitIdResponse.fromMap constructor
Implementation
factory SubmitIdResponse.fromMap(Map<String, dynamic> map) {
return SubmitIdResponse(
token: map['token'] ?? '',
isSuccess: map['isSuccess'] ?? false,
otpSend: map['otpSend'] ?? false,
);
}