setBackgroundLocationEnabled static method

Future<void> setBackgroundLocationEnabled(
  1. bool? enable
)

Implementation

static Future<void> setBackgroundLocationEnabled(bool? enable) async {
  Map<String, dynamic> values = {
    'enable': enable,
  };

  await _channel.invokeMethod('setBackgroundLocationEnabled', values);
}