GoogleFirestoreAdminV1beta1IndexField.fromJson constructor

GoogleFirestoreAdminV1beta1IndexField.fromJson(
  1. Map _json
)

Implementation

GoogleFirestoreAdminV1beta1IndexField.fromJson(core.Map _json)
    : this(
        fieldPath: _json.containsKey('fieldPath')
            ? _json['fieldPath'] as core.String
            : null,
        mode: _json.containsKey('mode') ? _json['mode'] as core.String : null,
      );