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
SocketMessage.expandT(x) to turn the json string x into an object.
this package uses dson.
did stuff i guess
Add this to your package's pubspec.yaml file:
dependencies: server_client_comm: "^0.1.7"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.7||Oct 15, 2017|
|0.1.6||Sep 30, 2017|
|0.1.5||Sep 17, 2017||failed|
|0.1.1||Jul 23, 2017|
|0.1.0||Jul 23, 2017|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: Flutter, web, other
No platform restriction found in primary library
Use constrained dependencies.
pubspec.yamlcontains 1 dependency without version constraints. Specify version ranges for the following dependencies:
Fix analysis and formatting issues.
Analysis or formatting checks reported 4 errors 7 hints.
Strong-mode analysis of
lib/src/sccomm.dartfailed with the following error:
line: 61 col: 45
The method tear-off 'expandT' has type '(String) → dynamic' that isn't of expected type '(dynamic) → dynamic'. This means its parameter or return type does not match what is expected.
Similar analysis of the following files failed:
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:
example.dartor you could also use
|Dart SDK||>=1.8.0 <3.0.0|