core.Map<core.String, core.dynamic> toJson() => { if (targetedShardDuration != null) 'targetedShardDuration': targetedShardDuration!, };