ModuleAccount constructor
ModuleAccount({
- BaseAccount? baseAccount,
- String? name,
- Iterable<
String> ? permissions,
Implementation
factory ModuleAccount({
BaseAccount? baseAccount,
$core.String? name,
$core.Iterable<$core.String>? permissions,
}) {
final _result = create();
if (baseAccount != null) {
_result.baseAccount = baseAccount;
}
if (name != null) {
_result.name = name;
}
if (permissions != null) {
_result.permissions.addAll(permissions);
}
return _result;
}