GoogleFirestoreAdminV1Field.fromJson constructor

GoogleFirestoreAdminV1Field.fromJson(
  1. Map _json
)

Implementation

GoogleFirestoreAdminV1Field.fromJson(core.Map _json)
    : this(
        indexConfig: _json.containsKey('indexConfig')
            ? GoogleFirestoreAdminV1IndexConfig.fromJson(
                _json['indexConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );