From 8452864f1aecba9e47181e84631cb554b875dccb Mon Sep 17 00:00:00 2001 From: Guy Luz Date: Sun, 15 Oct 2023 01:54:44 +0300 Subject: [PATCH] Removed some lint warnings --- .../app_communication/app_communication_repository.dart | 5 ++--- pubspec.yaml | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/infrastructure/app_communication/app_communication_repository.dart b/lib/infrastructure/app_communication/app_communication_repository.dart index fed94f4..947b2ab 100644 --- a/lib/infrastructure/app_communication/app_communication_repository.dart +++ b/lib/infrastructure/app_communication/app_communication_repository.dart @@ -2,7 +2,6 @@ import 'dart:async'; import 'dart:convert'; import 'package:cbj_hub/domain/app_communication/i_app_communication_repository.dart'; -import 'package:cbj_hub/domain/remote_pipes/remote_pipes_entity.dart'; import 'package:cbj_hub/infrastructure/app_communication/hub_app_server.dart'; import 'package:cbj_hub/infrastructure/remote_pipes/remote_pipes_client.dart'; import 'package:cbj_hub/infrastructure/remote_pipes/remote_pipes_dtos.dart'; @@ -160,9 +159,9 @@ class AppCommunicationRepository extends IAppCommunicationRepository { } else if (event.sendingType == SendingType.remotePipesInformation) { final Map jsonDecoded = jsonDecode(event.allRemoteCommands) as Map; - final RemotePipesEntity remotePipes = - RemotePipesDtos.fromJson(jsonDecoded).toDomain(); // TODO: Fix after new cbj_integrations_controller + // final RemotePipesEntity remotePipes = + RemotePipesDtos.fromJson(jsonDecoded).toDomain(); // ISavedDevicesRepo.instance // .saveAndActivateRemotePipesDomainToDb(remotePipes: remotePipes); } else if (event.sendingType == SendingType.sceneType) { diff --git a/pubspec.yaml b/pubspec.yaml index 5516967..325db32 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -51,6 +51,8 @@ dependencies: mqtt_client: ^10.0.0 # Service discovery over multicast DNS (mDNS), Bonjour, and Avahi. multicast_dns: ^0.3.2+4 + # Helps you discover open ports, devices on subnet and more. + network_tools: ^4.0.1 # Provides runtime support for a Dart implementation of protobufs. protobuf: ^3.1.0 # Extends the capabilities of Dart Streams and StreamControllers.