OtpRespponse.fromJson constructor
Implementation
OtpRespponse.fromJson(Map<String, dynamic> json) {
status = json['status'];
message = json['message'];
data = hasError
? null
: json['data'] != null
? Data.fromJson(json['data'])
: null;
}