You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
561 B
27 lines
561 B
library StubLib;
|
|
|
|
import '../IUserManager.dart';
|
|
import '../IAuthManager.dart';
|
|
import 'AuthManager.dart';
|
|
import 'StubData.dart';
|
|
import '../User.dart';
|
|
import '../Stat.dart';
|
|
import 'package:uuid/uuid.dart';
|
|
|
|
class UserManager extends IUserManager {
|
|
final StubData parent;
|
|
|
|
// Constructor
|
|
UserManager(this.parent) : super(AuthManager(parent));
|
|
|
|
// Methods
|
|
List<User> getUsersByName(String name) {
|
|
return [];
|
|
}
|
|
|
|
User getUserById(Uuid id) {
|
|
return User(
|
|
Uuid(), "", "", "", [], [], Stat(10, 10, 10, 10, 10, 10, 10, 10, 10));
|
|
}
|
|
}
|