isNullOrFalse property
bool
get
isNullOrFalse
isNullOrFalse: Checks if the object is null or false.
Implementation
bool get isNullOrFalse {
if (this is bool) {
return this == null || this == false;
}
return this == null || this == '';
}