📅  最后修改于: 2022-03-11 14:48:05.927000             🧑  作者: Mango
QUESTION: dart parse boolean from string
// there is no method for parsing
ANSWER:
var val = 'True';
bool b = val.toLowerCase() == 'true';