RequestDataResult.fromJson constructor

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

Implementation

factory RequestDataResult.fromJson(Map<String, dynamic> json) {
  return RequestDataResult(
    objectStoreDataEntries: (json['objectStoreDataEntries'] as List)
        .map((e) => DataEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
    hasMore: json['hasMore'] as bool? ?? false,
  );
}