toJson method
Implementation
Map<String, dynamic> toJson() {
final authorizationConfig = this.authorizationConfig;
final endpoint = this.endpoint;
return {
if (authorizationConfig != null)
'authorizationConfig': authorizationConfig,
if (endpoint != null) 'endpoint': endpoint,
};
}