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