encode method

Map<String, Object?> encode()

Implementation

Map<String, Object?> encode() => {
  if (aggrEgressPps != null) 'aggr_egress_pps': aggrEgressPps!.toTfJson(),
  if (aggrIngressPps != null) 'aggr_ingress_pps': aggrIngressPps!.toTfJson(),
  if (avgPacketSize != null) 'avg_packet_size': avgPacketSize!.toTfJson(),
  if (maxPerGroupIngressPps != null)
    'max_per_group_ingress_pps': maxPerGroupIngressPps!.toTfJson(),
  if (maxPerGroupSubscribers != null)
    'max_per_group_subscribers': maxPerGroupSubscribers!.toTfJson(),
};