isBool property
bool
get
isBool
Checks if string is boolean.
Implementation
bool get isBool => (this == 'true' || this == 'false');
Checks if string is boolean.
bool get isBool => (this == 'true' || this == 'false');