toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (IPProtocols != null) 'IPProtocols': IPProtocols!,
      if (cidrRanges != null) 'cidrRanges': cidrRanges!,
      if (direction != null) 'direction': direction!,
    };