GoogleFirestoreAdminV1VectorConfig.fromJson constructor

GoogleFirestoreAdminV1VectorConfig.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1VectorConfig.fromJson(core.Map json_)
    : this(
        dimension: json_.containsKey('dimension')
            ? json_['dimension'] as core.int
            : null,
        flat: json_.containsKey('flat')
            ? GoogleFirestoreAdminV1FlatIndex.fromJson(
                json_['flat'] as core.Map<core.String, core.dynamic>)
            : null,
      );