User.fromStrings constructor

User.fromStrings(
  1. String username,
  2. String password,
  3. UserLevel userLevel
)

Implementation

factory User.fromStrings(
        String username, String password, UserLevel userLevel) =>
    User(
        mapUsername: {'\$': username},
        mapPassword: {'\$': username},
        mapUserLevel: {'\$': userLevel.value});