toBool property
bool
get
toBool
Parses string as boolean ('true' evaluates to true, else false).
Implementation
bool get toBool => trim().toLowerCase() == 'true';
Parses string as boolean ('true' evaluates to true, else false).
bool get toBool => trim().toLowerCase() == 'true';