getNum static method

Future<num?> getNum({
  1. required String key,
  2. required num defaultValue,
})

Implementation

static Future<num?> getNum({required String key,
  required num defaultValue}) async {
  Map<String, Object> config = {
    "key": key,
    "defaultValue": defaultValue
  };
  final num? status =
  (await _channel.invokeMethod<num>('getNum', config));
  return status;
}