toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (gatewayIp != null) 'gatewayIp': gatewayIp!,
      if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (vlanId != null) 'vlanId': vlanId!,
    };