toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (collectdPayloads != null) 'collectdPayloads': collectdPayloads!,
if (collectdVersion != null) 'collectdVersion': collectdVersion!,
if (resource != null) 'resource': resource!,
};