toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotations != null) 'annotations': annotations!,
if (endpoints != null) 'endpoints': endpoints!,
if (name != null) 'name': name!,
if (uid != null) 'uid': uid!,
};