toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (id != null) 'id': id!,
if (resource != null) 'resource': resource!,
if (status != null) 'status': status!,
if (sub != null) 'sub': sub!,
if (time != null) 'time': time!,
};