fromJson<T extends Ret> static method
from json map
Implementation
static fromJson<T extends Ret>(
Map<String, dynamic> json, T? Function(Map<String, dynamic>)? fromJson) {
return ApiResponse(
statusCode: json["status_code"],
msg: Msg.fromJson(json["msg"]),
ret: fromJson?.call(json["ret"]),
);
}