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