convertToBool static method

bool convertToBool(
  1. String x
)

Implementation

static bool convertToBool(String x) => x.toLowerCase() == 'true';