ApiError.fromJson constructor

ApiError.fromJson(
  1. Map json
)

Implementation

factory ApiError.fromJson(Map<dynamic, dynamic> json) {
  return ApiError(
    status: json['status'],
    type: json['type'],
    title: json['title'],
    detail: json['detail'],
  );
}