UEmptyResponse.fromJson constructor
UEmptyResponse.fromJson(
- String str
Implementation
factory UEmptyResponse.fromJson(String str) {
final Map<String, dynamic> jsonMap = json.decode(str);
return UEmptyResponse(
status: jsonMap["status"] ?? 0,
message: jsonMap["message"] ?? "",
);
}