Skip to content

Commit

Permalink
refactor: use relative instead of package imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jan 9, 2022
1 parent a0c67b2 commit 7ee69ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
8 changes: 4 additions & 4 deletions lib/src/binding_coap/coap_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
//
// SPDX-License-Identifier: MIT OR Apache-2.0

import 'package:dart_wot/binding_coap.dart';
import 'package:dart_wot/src/core/credentials.dart';
import 'package:dart_wot/src/core/protocol_interfaces/protocol_server.dart';
import 'package:dart_wot/src/scripting_api/exposed_thing.dart';
import '../core/credentials.dart';
import '../core/protocol_interfaces/protocol_server.dart';
import '../scripting_api/exposed_thing.dart';
import 'coap_config.dart';

/// A [ProtocolServer] for the Constrained Application Protocol (CoAP).
class CoapServer extends ProtocolServer {
Expand Down
7 changes: 3 additions & 4 deletions lib/src/core/protocol_interfaces/protocol_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
//
// SPDX-License-Identifier: MIT OR Apache-2.0

import 'package:dart_wot/src/core/content.dart';
import 'package:dart_wot/src/definitions/form.dart';
import 'package:dart_wot/src/definitions/security_scheme.dart';

import '../../definitions/form.dart';
import '../../definitions/security_scheme.dart';
import '../content.dart';
import '../credentials.dart';
import '../subscription.dart';

Expand Down
3 changes: 1 addition & 2 deletions lib/src/scripting_api/subscription.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
//
// SPDX-License-Identifier: MIT OR Apache-2.0

import 'package:dart_wot/dart_wot.dart';

import '../definitions/form.dart';
import '../definitions/interaction_affordances/interaction_affordance.dart';
import 'consumed_thing.dart';

/// Indicates the type of the subscription.
enum SubscriptionType {
Expand Down

0 comments on commit 7ee69ab

Please sign in to comment.