toJson method

Map<String, dynamic> toJson()

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!,
    };