QueryTarget.fromJson constructor

QueryTarget.fromJson(
  1. Map _json
)

Implementation

QueryTarget.fromJson(core.Map _json)
    : this(
        parent: _json.containsKey('parent')
            ? _json['parent'] as core.String
            : null,
        structuredQuery: _json.containsKey('structuredQuery')
            ? StructuredQuery.fromJson(_json['structuredQuery']
                as core.Map<core.String, core.dynamic>)
            : null,
      );