GoogleFirestoreAdminV1IndexField.fromJson constructor

GoogleFirestoreAdminV1IndexField.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1IndexField.fromJson(core.Map json_)
    : this(
        arrayConfig: json_.containsKey('arrayConfig')
            ? json_['arrayConfig'] as core.String
            : null,
        fieldPath: json_.containsKey('fieldPath')
            ? json_['fieldPath'] as core.String
            : null,
        order:
            json_.containsKey('order') ? json_['order'] as core.String : null,
        vectorConfig: json_.containsKey('vectorConfig')
            ? GoogleFirestoreAdminV1VectorConfig.fromJson(
                json_['vectorConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );