toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final connectionState = this.connectionState;
  final enabledSipPing = this.enabledSipPing;
  final errorDetails = this.errorDetails;
  final peerHostname = this.peerHostname;
  final peerSocketAddress = this.peerSocketAddress;
  final pingInterval = this.pingInterval;
  final probeDetails = this.probeDetails;
  return {
    'connectionState': ?connectionState,
    'enabledSipPing': ?enabledSipPing,
    'errorDetails': ?errorDetails,
    'peerHostname': ?peerHostname,
    'peerSocketAddress': ?peerSocketAddress,
    'pingInterval': ?pingInterval,
    'probeDetails': ?probeDetails,
  };
}