isBool property
bool
isBool
Check if string is a boolean
Implementation
bool get isBool => this == 'true' || this == 'false';
Check if string is a boolean
bool get isBool => this == 'true' || this == 'false';