parseBool function

bool parseBool(
  1. dynamic value, {
  2. bool defaultValue = false,
})

bool parser utility methods

Implementation

bool parseBool(var value, {bool defaultValue = false}) {
  return _parseBool(value, defaultValue) as bool;
}