Account constructor
Default constructor for Account.
Params:
- username: the username associated with the Account.
- server: The object describing the server where the account is defined.
Implementation
factory Account({
required String username,
required Server server,
}) {
return AccountImpl(
username: username,
server: server,
);
}