toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activityTypes != null) 'activityTypes': activityTypes!,
      if (dateRange != null) 'dateRange': dateRange!,
      if (pageSize != null) 'pageSize': pageSize!,
      if (pageToken != null) 'pageToken': pageToken!,
      if (user != null) 'user': user!,
      if (viewId != null) 'viewId': viewId!,
    };