RunQueryResponse.fromJson constructor

RunQueryResponse.fromJson(
  1. Map _json
)

Implementation

RunQueryResponse.fromJson(core.Map _json)
    : this(
        document: _json.containsKey('document')
            ? Document.fromJson(
                _json['document'] as core.Map<core.String, core.dynamic>)
            : null,
        readTime: _json.containsKey('readTime')
            ? _json['readTime'] as core.String
            : null,
        skippedResults: _json.containsKey('skippedResults')
            ? _json['skippedResults'] as core.int
            : null,
        transaction: _json.containsKey('transaction')
            ? _json['transaction'] as core.String
            : null,
      );