SubmitIdResponse.fromMap constructor

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

Implementation

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