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