toJson method

Map<String, dynamic> toJson()

Implementation

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