toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (activity != null) 'activity': activity!,
if (activityType != null) 'activityType': activityType!,
if (fullResourceName != null) 'fullResourceName': fullResourceName!,
if (observationPeriod != null) 'observationPeriod': observationPeriod!,
};