ResourceQuery.fromJson constructor

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

Implementation

factory ResourceQuery.fromJson(Map<String, dynamic> json) {
  return ResourceQuery(
    query: json['Query'] as String,
    type: (json['Type'] as String).toQueryType(),
  );
}