readInt static method

int? readInt(
  1. String key
)

Reads an int value.

Implementation

static int? readInt(String key) {
  final String? raw = backend.read(key);
  return raw == null ? null : int.tryParse(raw);
}