toggled property
bool
get
toggled
Returns the opposite of the boolean value.
Example:
bool flag = true;
print(flag.toggled); // false
Implementation
bool get toggled => !this;
Returns the opposite of the boolean value.
Example:
bool flag = true;
print(flag.toggled); // false
bool get toggled => !this;