iam top-level property
User
iam
For more readability.
It's NOT nullable.
Implementation
User get iam {
if (my == null) {
throw Exception(
'[iam] UserService.instance.user is null. Developer may forget to call [UserService.instance.init()] or [UserService.instance.myDataChanges.listen()] is not complete yet.');
}
return my!;
}