getDouble static method

Future<double?> getDouble(
  1. String key
)

Reads a double 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<double?> getDouble(String key) async {
  return await _channel.invokeMethod('getDouble', {'key': key});
}