toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (destRange != null) 'destRange': destRange!,
      if (ipProtocol != null) 'ipProtocol': ipProtocol!,
      if (protocolVersion != null) 'protocolVersion': protocolVersion!,
      if (srcRange != null) 'srcRange': srcRange!,
    };