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,
        ttlConfig: json_.containsKey('ttlConfig')
            ? GoogleFirestoreAdminV1TtlConfig.fromJson(
                json_['ttlConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );