Returns Account if this data is Account, otherwise null.
Account? get accountOrNull => isAccount ? account : null;