RequestEntriesResult.fromJson constructor

RequestEntriesResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RequestEntriesResult.fromJson(Map<String, dynamic> json) {
  return RequestEntriesResult(
    cacheDataEntries: (json['cacheDataEntries'] as List)
        .map((e) => DataEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
    returnCount: json['returnCount'] as num,
  );
}