server_client_comm 0.1.7

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 41

This package lets you communicate between the server and client, all you need to do is SocketMessage.shrinkT(x,[y]) to turn x into json and make y it's type and SocketMessage.expandT(x) to turn the json string x into an object.

this package uses dson.

¯\_(ツ)_/¯

did stuff i guess

0.1.5:

  • changed expandTransform to SocketMessage.expandT (static)
  • changed shrinkTransform to SocketMessage.shrinkT (static)

1. Depend on it

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


dependencies:
  server_client_comm: "^0.1.7"

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 packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:server_client_comm/server_client_comm.dart';
        
Version Uploaded Documentation Archive
0.1.7 Oct 15, 2017 Go to the documentation of server_client_comm 0.1.7 Download server_client_comm 0.1.7 archive
0.1.6 Sep 30, 2017 Go to the documentation of server_client_comm 0.1.6 Download server_client_comm 0.1.6 archive
0.1.5 Sep 17, 2017 Go to the documentation of server_client_comm 0.1.5 Download server_client_comm 0.1.5 archive
0.1.1 Jul 23, 2017 Go to the documentation of server_client_comm 0.1.1 Download server_client_comm 0.1.1 archive
0.1.0 Jul 23, 2017 Go to the documentation of server_client_comm 0.1.0 Download server_client_comm 0.1.0 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
75 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
95 / 100
Overall score:
Weighted score of the above. [more]
41

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:server_client_comm/server_client_comm.dart.

Suggestions

  • Use constrained dependencies.

    The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: dson.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • The description is too long.

    Search engines will display only the first part of the description. Try to keep it under 180 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use server_client_comm.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <3.0.0
dson 0.11.0
Transitive dependencies
analyzer 0.30.0+4 0.31.0+1
args 1.3.0
async 2.0.3
barback 0.15.2+14
bazel_worker 0.1.9
build 0.11.2 0.12.0+1
build_barback 0.4.0+2 0.5.0+3
build_compilers 0.1.0 0.2.0
build_config 0.1.1 0.2.3
build_runner 0.6.1+1 0.7.9
built_collection 1.6.2 3.0.4
built_mirrors 0.7.1
built_value 4.3.3 5.1.1
charcode 1.1.1
cli_util 0.1.2+1
code_builder 2.4.0 3.0.1
code_transformers 0.5.1+4
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 1.0.9+1
fixnum 0.10.6
front_end 0.1.0-alpha.4.1 0.1.0-alpha.8
glob 1.1.5
html 0.13.2+2
http_parser 3.1.1
io 0.3.2+1
isolate 1.1.0
json_annotation 0.2.2
kernel 0.3.0-alpha.1.1 0.3.0-alpha.5
logging 0.11.3+1
matcher 0.12.1+4
meta 1.1.2
mime 0.9.6
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
pool 1.3.4
protobuf 0.7.0
quiver 0.26.2 0.28.0
scratch_space 0.0.1+3
serializable 0.8.0
shelf 0.7.2
source_gen 0.7.4+3
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.1
stream_channel 1.6.3
stream_transform 0.0.10
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
yaml 2.1.13