freshAccountWithSpace method

Future<String> freshAccountWithSpace({
  1. String? userDisplayName,
  2. String? spaceDisplayName,
})

Implementation

Future<String> freshAccountWithSpace({
  String? userDisplayName,
  String? spaceDisplayName,
}) async {
  await freshAccount(displayName: userDisplayName);
  return await createSpace(spaceDisplayName ?? 'My home Space');
}