Read a boolean value from the local storage Provide a name for the value you want to read.
name
static Future<bool> readBool(String name) async { return (await readValue(name) ?? "") == "true"; }