jaguar_example_session_models 2.1.6

  • Readme
  • Changelog
  • Installing
  • 36

example_models #

Models and UserFetcher for writing examples.

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_example_session_models: ^2.1.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_example_session_models/jaguar_example_session_models.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
14
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
36
Learn more about scoring.

We analyzed this package on Jul 14, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.15

Analysis suggestions

Package not compatible with runtime flutter-web on Web

Because:

  • package:jaguar_example_session_models/jaguar_example_session_models.dart that imports:
  • package:jaguar_example_session_models/src/user_fetcher.dart that imports:
  • package:jaguar_auth/jaguar_auth.dart that imports:
  • package:jaguar_auth/authorizer/authorizer.dart that imports:
  • package:jaguar_auth/exception/exception.dart that imports:
  • package:jaguar/jaguar.dart that imports:
  • dart:io

Package not compatible with runtime js

Because:

  • package:jaguar_example_session_models/jaguar_example_session_models.dart that imports:
  • package:jaguar_example_session_models/src/user_fetcher.dart that imports:
  • package:jaguar_auth/jaguar_auth.dart that imports:
  • package:jaguar_auth/authorizer/authorizer.dart that imports:
  • package:jaguar_auth/exception/exception.dart that imports:
  • package:jaguar/jaguar.dart that imports:
  • dart:io

Health suggestions

Fix lib/src/models.jser.dart. (-1 points)

Analysis of lib/src/models.jser.dart reported 2 hints:

line 23 col 17: Unnecessary new keyword.

line 44 col 17: Unnecessary new keyword.

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

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

line 53 col 24: Avoid const keyword.

Maintenance suggestions

Package is getting outdated. (-93.70 points)

The package was last published 101 weeks ago.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and jaguar_example_session_models.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.0.0 <3.0.0
jaguar ^2.1.37 2.4.43
jaguar_auth ^2.1.10 2.4.4
jaguar_common ^2.1.4 2.1.4
jaguar_serializer ^2.2.0 2.2.12
Transitive dependencies
auth_header 2.1.4
charcode 1.1.3
collection 1.14.13 1.15.0-nullsafety
convert 2.1.1
crypto 2.1.5
http_server 0.9.8+3
logging 0.11.4
meta 1.2.2 1.3.0-nullsafety
mime 0.9.6+3
path 1.7.0
path_tree 2.2.2
stack_trace 1.9.5
typed_data 1.2.0 1.3.0-nullsafety
Dev dependencies
build_runner ^0.10.0
jaguar_serializer_cli ^2.2.0
test ^1.3.0