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