GoogleFirestoreAdminV1ImportDocumentsRequest.fromJson constructor

GoogleFirestoreAdminV1ImportDocumentsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1ImportDocumentsRequest.fromJson(core.Map json_)
    : this(
        collectionIds: json_.containsKey('collectionIds')
            ? (json_['collectionIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        inputUriPrefix: json_.containsKey('inputUriPrefix')
            ? json_['inputUriPrefix'] as core.String
            : null,
        namespaceIds: json_.containsKey('namespaceIds')
            ? (json_['namespaceIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );