An open API service indexing awesome lists of open source software.

https://github.com/jonaskello/dart_serialization_no_mirrors

Example of serializaton in Dart
https://github.com/jonaskello/dart_serialization_no_mirrors

Last synced: about 1 year ago
JSON representation

Example of serializaton in Dart

Awesome Lists containing this project

README

          

# Dart serialization example

Example of how to transfer Dart classes with the serialization package.

This example uses hand-written serialization rules and immutable DTO classes.

To run the example, both the client and the server need to be started.

In Webstorm you can do this directly as two launches.

If you are using a text-editor, you can use the command-line.
Make the current directory the root of the project and execute:

```
pub serve
pub run bin/server.dart
```

Once it is running, open a web-browser to or to the pub server port (http://localhost:8080) and press the button.