toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (host != null) 'host': host!,
      if (isEnabled != null) 'isEnabled': isEnabled!,
      if (name != null) 'name': name!,
      if (port != null) 'port': port!,
      if (protocol != null) 'protocol': protocol!,
      if (sSLInfo != null) 'sSLInfo': sSLInfo!,
    };