toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (adapterDescription != null) 'adapterDescription': adapterDescription!,
  if (cidr != null) 'cidr': cidr!,
  if (interfaceName != null) 'interfaceName': interfaceName!,
  if (ipAddress != null) 'ipAddress': ipAddress!,
  if (macAddress != null) 'macAddress': macAddress!,
  if (speed != null) 'speed': speed!,
  if (vlanId != null) 'vlanId': vlanId!,
};