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