toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authenticationPresent != null)
        'authenticationPresent': authenticationPresent!,
      if (controlPlaneIndependent != null)
        'controlPlaneIndependent': controlPlaneIndependent!,
      if (demand != null) 'demand': demand!,
      if (diagnostic != null) 'diagnostic': diagnostic!,
      if (final_ != null) 'final': final_!,
      if (length != null) 'length': length!,
      if (minEchoRxIntervalMs != null)
        'minEchoRxIntervalMs': minEchoRxIntervalMs!,
      if (minRxIntervalMs != null) 'minRxIntervalMs': minRxIntervalMs!,
      if (minTxIntervalMs != null) 'minTxIntervalMs': minTxIntervalMs!,
      if (multiplier != null) 'multiplier': multiplier!,
      if (multipoint != null) 'multipoint': multipoint!,
      if (myDiscriminator != null) 'myDiscriminator': myDiscriminator!,
      if (poll != null) 'poll': poll!,
      if (state != null) 'state': state!,
      if (version != null) 'version': version!,
      if (yourDiscriminator != null) 'yourDiscriminator': yourDiscriminator!,
    };