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