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