ApiError.fromJson constructor
Creates a ApiError instance from a JSON representation.
Implementation
ApiError.fromJson(Map<String, dynamic> json) {
code = json['code'];
message = json['message'];
description = json['description'];
dateTime =
json['dateTime'] == null ? null : DateTime.parse(json['dateTime']);
innerError = ApiError.fromJson(json['innerError']);
}