Skip to content

Commit

Permalink
style: remove debugPrints
Browse files Browse the repository at this point in the history
  • Loading branch information
juliansteenbakker committed Jan 18, 2022
1 parent 61281a6 commit d6fb56d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/src/flutter_ble_peripheral.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import 'dart:async';
import 'dart:typed_data';

import 'package:flutter/cupertino.dart';
import 'package:flutter/services.dart';

import '../flutter_ble_peripheral.dart';
Expand Down Expand Up @@ -43,7 +42,6 @@ class FlutterBlePeripheral {

/// Start advertising. Takes [AdvertiseData] as an input.
Future<void> start(AdvertiseData data) async {
debugPrint('Start advertising');
Map params = <String, dynamic>{
'uuid': data.uuid,
'manufacturerId': data.manufacturerId,
Expand All @@ -64,7 +62,6 @@ class FlutterBlePeripheral {

/// Stop advertising
Future<void> stop() async {
debugPrint('Stop advertising');
await _methodChannel.invokeMethod('stop');
}

Expand All @@ -85,7 +82,6 @@ class FlutterBlePeripheral {

/// Start advertising. Takes [AdvertiseData] as an input.
Future<void> sendData(Uint8List data) async {
debugPrint('Send data: $data');
await _methodChannel.invokeMethod('sendData', data);
}

Expand All @@ -96,7 +92,6 @@ class FlutterBlePeripheral {
.cast<int>()
.distinct()
.map((event) {
debugPrint('mtu: $event');
return event;
});
}
Expand All @@ -108,7 +103,6 @@ class FlutterBlePeripheral {
return _stateChangedEventChannel
.receiveBroadcastStream()
.map((dynamic event) {
debugPrint('state: ');
return PeripheralState.values[event as int];
});
}
Expand Down

0 comments on commit d6fb56d

Please sign in to comment.