getInt static method
Reads a integer value from persistent storage under the specified app group.
If the persistent storage does not contains key
, then null
will be returned
Implementation
static Future<int?> getInt(String key) async {
return await _channel.invokeMethod('getInt', {'key': key});
}