menu
stdc package
documentation
stdbool.dart
StdboolExtensions
Toggle method
Toggle method
dark_mode
light_mode
Toggle
method
bool
Toggle
(
)
Toggles the boolean value and returns the new value.
Implementation
bool Toggle() => !this;
stdc package
documentation
stdbool
StdboolExtensions
Toggle method
StdboolExtensions extension on
bool