Dart Parse Boolean de Cadena

QUESTION: dart parse boolean from string
// there is no method for parsing

ANSWER:
var val = 'True';
bool b = val.toLowerCase() == 'true';
Bole