GoogleFirestoreAdminV1Database.fromJson constructor

GoogleFirestoreAdminV1Database.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1Database.fromJson(core.Map json_)
    : this(
        appEngineIntegrationMode:
            json_.containsKey('appEngineIntegrationMode')
                ? json_['appEngineIntegrationMode'] as core.String
                : null,
        cmekConfig: json_.containsKey('cmekConfig')
            ? GoogleFirestoreAdminV1CmekConfig.fromJson(
                json_['cmekConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        concurrencyMode: json_.containsKey('concurrencyMode')
            ? json_['concurrencyMode'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        deleteProtectionState: json_.containsKey('deleteProtectionState')
            ? json_['deleteProtectionState'] as core.String
            : null,
        deleteTime: json_.containsKey('deleteTime')
            ? json_['deleteTime'] as core.String
            : null,
        earliestVersionTime: json_.containsKey('earliestVersionTime')
            ? json_['earliestVersionTime'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        keyPrefix: json_.containsKey('keyPrefix')
            ? json_['keyPrefix'] as core.String
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pointInTimeRecoveryEnablement:
            json_.containsKey('pointInTimeRecoveryEnablement')
                ? json_['pointInTimeRecoveryEnablement'] as core.String
                : null,
        previousId: json_.containsKey('previousId')
            ? json_['previousId'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        versionRetentionPeriod: json_.containsKey('versionRetentionPeriod')
            ? json_['versionRetentionPeriod'] as core.String
            : null,
      );