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