BatchGetDocumentsResponse.fromJson constructor

BatchGetDocumentsResponse.fromJson(
  1. Map json_
)

Implementation

BatchGetDocumentsResponse.fromJson(core.Map json_)
    : this(
        found: json_.containsKey('found')
            ? Document.fromJson(
                json_['found'] as core.Map<core.String, core.dynamic>)
            : null,
        missing: json_.containsKey('missing')
            ? json_['missing'] as core.String
            : null,
        readTime: json_.containsKey('readTime')
            ? json_['readTime'] as core.String
            : null,
        transaction: json_.containsKey('transaction')
            ? json_['transaction'] as core.String
            : null,
      );