GoogleFirestoreAdminV1beta2IndexField.fromJson constructor

GoogleFirestoreAdminV1beta2IndexField.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1beta2IndexField.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,
      );