toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (externalResource != null) 'externalResource': externalResource!,
if (reservedResource != null) 'reservedResource': reservedResource!,
if (tag != null) 'tag': tag!,
};