mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-09 21:49:31 +01:00
162e7300d5
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
25 lines
543 B
Dart
25 lines
543 B
Dart
import 'dart:io';
|
|
|
|
abstract class Users {
|
|
const Users._();
|
|
|
|
static final user1 = User(
|
|
Platform.environment['USER1_NAME'] ?? 'alice',
|
|
Platform.environment['USER1_PW'] ?? 'AliceInWonderland',
|
|
);
|
|
static final user2 = User(
|
|
Platform.environment['USER2_NAME'] ?? 'bob',
|
|
Platform.environment['USER2_PW'] ?? 'JoWirSchaffenDas',
|
|
);
|
|
}
|
|
|
|
class User {
|
|
final String name;
|
|
final String password;
|
|
|
|
const User(this.name, this.password);
|
|
}
|
|
|
|
final homeserver =
|
|
'http://${Platform.environment['HOMESERVER'] ?? 'localhost'}';
|