createAlias method

Future<void> createAlias({
  1. required String handle,
  2. required String displayName,
  3. required String accountSetId,
  4. required Alias_Type aliasType,
  5. required String operator,
})

Implementation

Future<void> createAlias({
  required String handle,
  required String displayName,
  required String accountSetId,
  required Alias_Type aliasType,
  required String operator,
}) async {
  final request = Alias(
    handle: handle,
    displayName: displayName,
    accountSetId: Uuid.parse(accountSetId),
    aliasType: aliasType,
    operator: operator,
  );
  await _client.createAlias(request, options: await _fetchOptions());
}