SendOtpModel.fromJson constructor
Implementation
factory SendOtpModel.fromJson(Map<String, dynamic> json) => SendOtpModel(
id: json["id"],
ttl: json["ttl"],
created: json["created"] == null ? null : DateTime.parse(json["created"]),
userId: json["userId"],
receiveotpvia: json["receiveotpvia"],
);