IdentityApiResult constructor

IdentityApiResult({
  1. required dynamic mpid,
  2. dynamic previousMpid,
})

Implementation

IdentityApiResult({required mpid, previousMpid}) {
  this.user = User(mpid);
  if (previousMpid != null) {
    this.previousUser = User(previousMpid);
  }
}