ItemResponse.fromJson constructor
Implementation
factory ItemResponse.fromJson(Map<String, dynamic> json) {
return ItemResponse(
endpointItemResponse: json['EndpointItemResponse'] != null
? EndpointItemResponse.fromJson(
json['EndpointItemResponse'] as Map<String, dynamic>)
: null,
eventsItemResponse: (json['EventsItemResponse'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(
k, EventItemResponse.fromJson(e as Map<String, dynamic>))),
);
}