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