Reads a value from the platform, throwing a TypeError if the value is not an int.
Future<int?> getInt(String key) async { return _platform.getInt(key, _options); }