toJson method

Map<String, dynamic> toJson()

Converts the SimliClientConfig to a JSON map.

Implementation

Map<String, dynamic> toJson() {
  return {
    'apiKey': apiKey,
    'faceId': faceId,
    'handleSilence': handleSilence,
    'maxSessionLength': maxSessionLength,
    'maxIdleTime': maxIdleTime,
    'syncAudio': syncAudio,
    'videoReferenceUrl': videoReferenceUrl, // added videoReferenceUrl
    'isJPG': isJPG, // added isJPG
  };
}