createGroup method

Future<Group> createGroup(
  1. String id,
  2. String name,
  3. String password,
  4. DatabaseInitialisation initialisationData, {
  5. GroupType? type,
  6. String? server,
  7. int? q,
  8. int? n,
  9. String? superGroup,
  10. String? applicationId,
})

Implementation

Future<Group> createGroup(String id, String name, String password, DatabaseInitialisation initialisationData, { GroupType? type, String? server, int? q, int? n, String? superGroup, String? applicationId }) async {
	return await CardinalSdkPlatformInterface.instance.apis.group.createGroup(
		_sdkId,
		id,
		name,
		type,
		password,
		server,
		q,
		n,
		superGroup,
		applicationId,
		initialisationData,
	);
}