jaguar_eventsource 1.0.6

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 50

Jaguar EventSource #

Server side events plugin for Jaguar dart.

1.0.0 #

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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


dependencies:
  jaguar_eventsource: ^1.0.6

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:jaguar_eventsource/jaguar_eventsource.dart';
  
Version Uploaded Documentation Archive
1.0.6 Mar 6, 2019 Go to the documentation of jaguar_eventsource 1.0.6 Download jaguar_eventsource 1.0.6 archive
1.0.5 Feb 28, 2019 Go to the documentation of jaguar_eventsource 1.0.5 Download jaguar_eventsource 1.0.5 archive
1.0.2 Feb 28, 2019 Go to the documentation of jaguar_eventsource 1.0.2 Download jaguar_eventsource 1.0.2 archive
1.0.0 Feb 27, 2019 Go to the documentation of jaguar_eventsource 1.0.0 Download jaguar_eventsource 1.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

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

  • Dart: 2.3.2
  • pana: 0.12.18

Platforms

Detected platforms: Flutter, other

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

Health suggestions

Fix lib/src/eventsource_base.dart. (-1 points)

Analysis of lib/src/eventsource_base.dart reported 2 hints:

line 48 col 5: DO use curly braces for all flow control structures.

line 50 col 5: DO use curly braces for all flow control structures.

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

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

line 22 col 7: DO use curly braces for all flow control structures.

Maintenance suggestions

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and jaguar_eventsource.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
jaguar ^2.4.30 2.4.36
pedantic ^1.0.0 1.7.0
Transitive dependencies
auth_header 2.1.2
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
http_server 0.9.8+2
jaguar_common 2.1.4
jaguar_serializer 2.2.12
logging 0.11.3+2
meta 1.1.7
mime 0.9.6+3
path 1.6.2
path_tree 2.2.2
stack_trace 1.9.3
typed_data 1.1.6
Dev dependencies
test ^1.0.0