toJson method

Map<String, dynamic> toJson()

Implementation

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