toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activities != null) 'activities': activities!,
      if (dataSource != null) 'dataSource': dataSource!,
      if (deviceCategory != null) 'deviceCategory': deviceCategory!,
      if (platform != null) 'platform': platform!,
      if (sessionDate != null) 'sessionDate': sessionDate!,
      if (sessionId != null) 'sessionId': sessionId!,
    };