dartivity_messaging 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 47

dartivity_messaging #

The messaging component of the Dartivity IOT suite.

This component provides the interface to Google's pub/sub service using the Dartivity Message class. This is a simple interface that can be used by any Dartivity components to perform the messaging function, such as Dartivty clients, and Dartivity messaging only clients.

The component can also be used as a Dartivity messaging interface in stand alone bridge applications, e.g from existing dart based IOT packages.

Currently only whoHas and IHave messages are implemented however this will be expanded upon as the Dartivity suite is expanded.

See the individual classes for more information.

1.0.0 #

  • Dart 2.0 updates

0.1.0 #

  • Initial version


 * Package : dartivity_messaging
 * Author : S. Hamblett <steve.hamblett@linux.com>
 * Date   : 04/09/2018
 * Copyright :  S.Hamblett 2018

/// This package is a plugin/support package for the Dartivity IOT suite,
/// as such it has no specific standalone usage examples. See the test
/// suite for instantiation details.
int main() {
  return 0;

Use this package as a library

1. Depend on it

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

  dartivity_messaging: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:dartivity_messaging/dartivity_messaging.dart';
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 Oct 24, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21


Detected platforms: Flutter, other

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

Health suggestions

Fix lib/src/dartivity_messaging.dart. (-0.50 points)

Analysis of lib/src/dartivity_messaging.dart reported 1 hint:

line 109 col 46: Use = to separate a named parameter from its default value.

Maintenance suggestions

Package is getting outdated. (-13.42 points)

The package was last published 59 weeks ago.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
crypto >=2.0.1 <3.0.0 2.1.3
gcloud ^0.6.0+1 0.6.3
googleapis_auth ^0.2.5+2 0.2.10
json_object_lite ^2.0.0 2.1.0
Transitive dependencies
_discoveryapis_commons 0.1.9
async 2.4.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
googleapis 0.54.0
http 0.12.0+2
http_parser 3.1.3
meta 1.1.7
path 1.6.4
pedantic 1.8.0+1
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
build_runner ^0.10.0
build_test ^0.10.2
build_web_compilers ^0.4.0
coverage ^0.12.2
dart_style ^1.1.3
dartdoc ^0.20.3
test ^1.3.0