mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
86c4fa5165
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
17 lines
400 B
Dart
17 lines
400 B
Dart
abstract class Users {
|
|
const Users._();
|
|
static const alice = User('alice', 'AliceInWonderland');
|
|
static const bob = User('bob', 'JoWirSchaffenDas');
|
|
static const trudy = User('trudy', 'HaveIBeenPwned');
|
|
}
|
|
|
|
class User {
|
|
final String name;
|
|
final String password;
|
|
|
|
const User(this.name, this.password);
|
|
}
|
|
|
|
// https://stackoverflow.com/a/33088657
|
|
const homeserver = 'http://10.0.2.2:8008';
|