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