RunQueryRequest.fromJson constructor

RunQueryRequest.fromJson(
  1. Map json_
)

Implementation

RunQueryRequest.fromJson(core.Map json_)
    : this(
        databaseId: json_.containsKey('databaseId')
            ? json_['databaseId'] as core.String
            : null,
        explainOptions: json_.containsKey('explainOptions')
            ? ExplainOptions.fromJson(json_['explainOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        gqlQuery: json_.containsKey('gqlQuery')
            ? GqlQuery.fromJson(
                json_['gqlQuery'] as core.Map<core.String, core.dynamic>)
            : null,
        partitionId: json_.containsKey('partitionId')
            ? PartitionId.fromJson(
                json_['partitionId'] as core.Map<core.String, core.dynamic>)
            : null,
        propertyMask: json_.containsKey('propertyMask')
            ? PropertyMask.fromJson(
                json_['propertyMask'] as core.Map<core.String, core.dynamic>)
            : null,
        query: json_.containsKey('query')
            ? Query.fromJson(
                json_['query'] as core.Map<core.String, core.dynamic>)
            : null,
        readOptions: json_.containsKey('readOptions')
            ? ReadOptions.fromJson(
                json_['readOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );