Switch to flutter_lints: ^6.0.0

This commit is contained in:
Foti Dim
2025-05-29 21:35:04 +02:00
parent 78d0aaea66
commit fa98d2989b
9 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ class UniversalBle {
}
// Fire and forget, and do not rely on result
static _attemptPairingReadingAll(
static Future<void> _attemptPairingReadingAll(
String deviceId,
List<BleService> services,
) async {
+3 -3
View File
@@ -1,21 +1,21 @@
import 'dart:developer';
class UniversalLogger {
static void logInfo(message) {
static void logInfo(String message) {
log(
message.toString(),
name: 'UniversalBle:INFO',
);
}
static void logError(message) {
static void logError(String message) {
log(
'\x1B[31m$message\x1B[31m',
name: 'UniversalBle:ERROR',
);
}
static void logWarning(message) {
static void logWarning(String message) {
log(
'\x1B[33m$message\x1B[33m',
name: 'UniversalBle:WARN',
+1 -1
View File
@@ -1,4 +1,4 @@
library universal_ble;
library;
export 'package:universal_ble/src/universal_ble_exceptions.dart';
export 'package:universal_ble/src/universal_ble_platform_interface.dart';