toJson method
Implementation
Map<String, dynamic> toJson() {
final awsRegion = this.awsRegion;
final defaultAction = this.defaultAction;
final userPoolId = this.userPoolId;
final appIdClientRegex = this.appIdClientRegex;
return {
'awsRegion': awsRegion,
'defaultAction': defaultAction.toValue(),
'userPoolId': userPoolId,
if (appIdClientRegex != null) 'appIdClientRegex': appIdClientRegex,
};
}