toJson method
Implementation
AnsightJson toJson() => <String, Object?>{
'enabled': enabled,
'initialDelayMilliseconds': initialDelayMilliseconds,
'probeIntervalMilliseconds': probeIntervalMilliseconds,
'reconnectDelayMilliseconds': reconnectDelayMilliseconds,
if (clientName != null) 'clientName': clientName,
};