getDouble method

Future<double> getDouble(
  1. String key,
  2. double fallbackValue
)

Implementation

Future<double> getDouble(String key, double fallbackValue) async {
  try {
    final args = [key, fallbackValue];
    return await _channel.invokeMethod('getDouble', args);
  } on Exception catch (e) {
    Logger.i("$e Error while getting config's");
    return fallbackValue;
  }
}