toJson method

Map<String, dynamic> toJson()

Serializes to a JSON map.

Implementation

Map<String, dynamic> toJson() => {
  'shells': shells,
  'features': features,
  'maxSessions': maxSessions,
  if (directEndpoint != null) 'directEndpoint': directEndpoint,
};