Is there any decent way of checking if object has all null values? Here is example code.. I'm trying to print 'empty' when all object values are null
void main() {
Object object = Object(foo: null, fuu: null);
object == null? print('empty'): print('not empty');
}
class Object {
final String foo;
final int fuu;
Object({this.foo, this.fuu});
}