bool值转String
value bool值
value
returns String值
returns
String boolToString(bool value) { return (value == true ? 1 : 0).toString(); }