ApiResponse<T>.fromJson constructor
Implementation
factory ApiResponse.fromJson(
final Map<String, dynamic> json,
T Function(Object? json) fromJsonT,
) {
return ApiResponse<T>(
count: json['count'],
data: (json['data'] as List<dynamic>).map(fromJsonT).toList(),
);
}