QueryObjectsOutput.fromJson constructor

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

Implementation

factory QueryObjectsOutput.fromJson(Map<String, dynamic> json) {
  return QueryObjectsOutput(
    hasMoreResults: json['hasMoreResults'] as bool?,
    ids: (json['ids'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    marker: json['marker'] as String?,
  );
}