Skip to content

Commit

Permalink
Removed some lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
guyluz11 committed Oct 14, 2023
1 parent 32383a2 commit 8452864
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -160,9 +159,9 @@ class AppCommunicationRepository extends IAppCommunicationRepository {
} else if (event.sendingType == SendingType.remotePipesInformation) {
final Map<String, dynamic> jsonDecoded =
jsonDecode(event.allRemoteCommands) as Map<String, dynamic>;
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) {
Expand Down
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8452864

Please sign in to comment.