toJson method
Implementation
Map<String, dynamic> toJson() {
final authenticationProtocol = this.authenticationProtocol;
final displayLabel = this.displayLabel;
final radiusPort = this.radiusPort;
final radiusRetries = this.radiusRetries;
final radiusServers = this.radiusServers;
final radiusTimeout = this.radiusTimeout;
final sharedSecret = this.sharedSecret;
final useSameUsername = this.useSameUsername;
return {
if (authenticationProtocol != null)
'AuthenticationProtocol': authenticationProtocol.toValue(),
if (displayLabel != null) 'DisplayLabel': displayLabel,
if (radiusPort != null) 'RadiusPort': radiusPort,
if (radiusRetries != null) 'RadiusRetries': radiusRetries,
if (radiusServers != null) 'RadiusServers': radiusServers,
if (radiusTimeout != null) 'RadiusTimeout': radiusTimeout,
if (sharedSecret != null) 'SharedSecret': sharedSecret,
if (useSameUsername != null) 'UseSameUsername': useSameUsername,
};
}