ApiError.fromJson constructor

ApiError.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ApiError.fromJson(Map<String, dynamic> json) {
  return ApiError(
    json["code"],
    json["message"],
  );
}