createOrg method
Future<void>
createOrg({
- required String orgName,
- AuthFlowType? type,
- String? planInterest,
- String? pricingTableKey,
Implementation
Future<void> createOrg({
required String orgName,
AuthFlowType? type,
String? planInterest,
String? pricingTableKey,
}) async {
final params = _prepareInternalAdditionalParameters(AdditionalParameters(
planInterest: planInterest,
pricingTableKey: pricingTableKey,
));
params.registrationPage = _registrationPageParamValue;
params.createOrg = true;
params.orgName = orgName;
await _redirectToKinde(type: type, internalAdditionalParameters: params);
}