UserFractal.fromMap constructor

UserFractal.fromMap(
  1. MP d
)

Implementation

UserFractal.fromMap(MP d)
    : eth = d['eth'],
      pass = d['pass'],
      email = d['email'],
      domain = d['domain'],
      keyPair = SigningMix.signingFromMap(d),
      super.fromMap(d) {
  if (d['password'] case String password) {
    pass = makePass(password);
  }

  if (activeHash == hash) active.value = this;
}