RunQueryRequest.fromJson constructor

RunQueryRequest.fromJson(
  1. Map json_
)

Implementation

RunQueryRequest.fromJson(core.Map json_)
    : this(
        explainOptions: json_.containsKey('explainOptions')
            ? ExplainOptions.fromJson(json_['explainOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        newTransaction: json_.containsKey('newTransaction')
            ? TransactionOptions.fromJson(json_['newTransaction']
                as core.Map<core.String, core.dynamic>)
            : null,
        readTime: json_.containsKey('readTime')
            ? json_['readTime'] as core.String
            : null,
        structuredQuery: json_.containsKey('structuredQuery')
            ? StructuredQuery.fromJson(json_['structuredQuery']
                as core.Map<core.String, core.dynamic>)
            : null,
        transaction: json_.containsKey('transaction')
            ? json_['transaction'] as core.String
            : null,
      );