getInt method

  1. @override
int? getInt(
  1. String key
)

Reads a value from persistent storage, throwing an exception if it's not an int.

Implementation

@override
int? getInt(String key) => getAs(key);