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