readBool static method

bool? readBool(
  1. String key
)

Reads a bool value.

Implementation

static bool? readBool(String key) {
  final String? raw = backend.read(key);
  return raw == null ? null : raw == 'true';
}