createOrg abstract method

Future<OrgIi> createOrg({
  1. required String orgName,
  2. required Key orgKey,
  3. List<ContactInput>? contacts,
  4. List<AddressInput>? addresses,
  5. String? businessRef,
})

Create a new organization with the given information. Current logged in user will be added as the owner and admin of the organization.

Implementation

Future<OrgIi> createOrg({
  required String orgName,
  required Key orgKey,
  List<ContactInput>? contacts,
  List<AddressInput>? addresses,
  String? businessRef,
});