createUser abstract method
Create a new user in stream
Usage
await createUser('john-doe', {
'name': 'John Doe',
'occupation': 'Software Engineer',
'gender': 'male',
});
API docs: adding-users
Implementation
Future<User> createUser(
String id,
Map<String, Object?> data, {
bool getOrCreate = false,
});