toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (name != null) 'name': name!,
      if (qosPolicy != null) 'qosPolicy': qosPolicy!,
      if (state != null) 'state': state!,
      if (vlanAttachments != null) 'vlanAttachments': vlanAttachments!,
    };