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