PortalUser constructor

PortalUser(
  1. Portal portal,
  2. String username
)

Implementation

PortalUser(this.portal, this.username) {
  if (username.isEmpty) {
    throw ArgumentError.value(username, 'username', 'Cannot be empty');
  }

  _setupLoadable();
}