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