SimpleListResponse<T>.fromJson constructor
Implementation
factory SimpleListResponse.fromJson(
Map<String, dynamic> json,
T Function(Map<String, dynamic>) objectMapper,
) =>
SimpleListResponse(
totalCount: json["TotalCount"] as int,
items: List<T>.from((json["Items"] as List<Map<String, dynamic>>)
.map<T>((model) => objectMapper(model))),
);