toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'total': total,
      'windowCount': windowCount,
      if (windowAnchorAt != null) 'windowAnchorAt': windowAnchorAt,
      if (sessionId != null) 'sessionId': sessionId,
      if (stoppedAt != null) 'stoppedAt': stoppedAt,
    };