Future<bool> isEnabled() async { bool? result = await _channel.invokeMethod('geofence.isEnabled'); if (result == null) { throw TypeError(); } return result; }