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,
      );