upnp 2.0.0+1

  • README.md
  • Installing
  • Versions
  • 65

UPnP Client for Dart


  • Discovery
  • Device Information
  • Services
  • Actions
  • Host Support
  • Router API

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  upnp: ^2.0.0+1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:upnp/upnp.dart';
Version Uploaded Documentation Archive
2.0.0+1 Sep 15, 2018 Go to the documentation of upnp 2.0.0+1 Download upnp 2.0.0+1 archive
2.0.0 Sep 15, 2018 Go to the documentation of upnp 2.0.0 Download upnp 2.0.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.10


Detected platforms: Flutter, other

Primary library: package:upnp/upnp.dart with components: io.

Health issues and suggestions

Document public APIs. (-1 points)

280 out of 280 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Format lib/src/action.dart.

Run dartfmt to format lib/src/action.dart.

Format lib/src/device.dart.

Run dartfmt to format lib/src/device.dart.

Format lib/src/dial/screen.dart.

Run dartfmt to format lib/src/dial/screen.dart.

Fix additional 12 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/discovery.dart (Run dartfmt to format lib/src/discovery.dart.)
  • lib/src/helpers.dart (Run dartfmt to format lib/src/helpers.dart.)
  • lib/src/media/sources.dart (Run dartfmt to format lib/src/media/sources.dart.)
  • lib/src/router/router.dart (Run dartfmt to format lib/src/router/router.dart.)
  • lib/src/server/action.dart (Run dartfmt to format lib/src/server/action.dart.)
  • lib/src/server/device.dart (Run dartfmt to format lib/src/server/device.dart.)
  • lib/src/server/discovery.dart (Run dartfmt to format lib/src/server/discovery.dart.)
  • lib/src/server/server.dart (Run dartfmt to format lib/src/server/server.dart.)
  • lib/src/server/utils.dart (Run dartfmt to format lib/src/server/utils.dart.)
  • lib/src/service.dart (Run dartfmt to format lib/src/service.dart.)
  • lib/src/sub_manager.dart (Run dartfmt to format lib/src/sub_manager.dart.)
  • lib/src/utils.dart (Run dartfmt to format lib/src/utils.dart.)

Maintenance issues and suggestions

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use upnp.dart. Packages with multiple examples should use example/readme.md.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
crypto ^2.0.6 2.0.6
xml ^3.2.0 3.2.5
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.1.1
petitparser 2.1.0
typed_data 1.1.6