RunQueryRequest.fromJson constructor

RunQueryRequest.fromJson(
  1. Map _json
)

Implementation

RunQueryRequest.fromJson(core.Map _json)
    : this(
        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,
      );