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