angel_serialize_generator 2.0.5

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 81

angel_serialize_generator

The builder for Angel's model serialization.

Find documentation in the main project repo: https://github.com/angel-dart/serialize

2.0.5

  • Deserialization now supports un-serialized DateTime.
  • Better support for regular typed Lists and Maps in TypeScript.

2.0.4

  • Fields in TypeScript definitions are now nullable by default.

2.0.3

  • Added a TypeScriptDefinitionBuilder.

2.0.2

  • Generates an XFields class with the serialized names of all fields in a model class X.
  • Removed unnecessary named parameters from XSerializer.fromMap.

2.0.1

  • Ensured that List is only transformed if it generically references a Model.

example/main.dart

import 'package:angel_serialize/angel_serialize.dart';

@serializable
class _Todo {
  String text;
  bool completed;
}

1. Depend on it

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


dependencies:
  angel_serialize_generator: "^2.0.5"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:angel_serialize_generator/angel_serialize_generator.dart';
        
Version Uploaded Documentation Archive
2.0.5 Mar 30, 2018 Go to the documentation of angel_serialize_generator 2.0.5 Download angel_serialize_generator 2.0.5 archive
2.0.4 Mar 30, 2018 Go to the documentation of angel_serialize_generator 2.0.4 Download angel_serialize_generator 2.0.4 archive
2.0.3 Mar 29, 2018 Go to the documentation of angel_serialize_generator 2.0.3 Download angel_serialize_generator 2.0.3 archive
2.0.2 Mar 9, 2018 Go to the documentation of angel_serialize_generator 2.0.2 Download angel_serialize_generator 2.0.2 archive
2.0.1 Mar 5, 2018 Go to the documentation of angel_serialize_generator 2.0.1 Download angel_serialize_generator 2.0.1 archive
2.0.0 Mar 2, 2018 Go to the documentation of angel_serialize_generator 2.0.0 Download angel_serialize_generator 2.0.0 archive
1.0.0 Dec 7, 2017 Go to the documentation of angel_serialize_generator 1.0.0 Download angel_serialize_generator 1.0.0 archive
2.0.0-alpha Mar 2, 2018 Go to the documentation of angel_serialize_generator 2.0.0-alpha Download angel_serialize_generator 2.0.0-alpha archive
1.0.0-alpha+3 Sep 15, 2017 Go to the documentation of angel_serialize_generator 1.0.0-alpha+3 Download angel_serialize_generator 1.0.0-alpha+3 archive
1.0.0-alpha+2 Sep 15, 2017 Go to the documentation of angel_serialize_generator 1.0.0-alpha+2 Download angel_serialize_generator 1.0.0-alpha+2 archive

All 12 versions...

Analysis

We analyzed this package on Apr 9, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.46.0
  • pana: 0.10.6

Scores

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

Platforms

Detected platforms: web, other

Primary library: package:angel_serialize_generator/angel_serialize_generator.dart with components: build, mirrors.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.1.2 <2.0.0
angel_serialize ^2.0.0-alpha 2.0.1
build_config >=0.2.4 <2.0.0 0.2.6+1
code_buffer ^1.0.0 1.0.0
code_builder ^3.0.0 3.0.3
id ^1.0.0 1.0.16
recase ^1.0.0 1.0.0+1
source_gen ^0.7.0 0.7.6 0.8.0
Transitive dependencies
analyzer 0.31.1 0.31.2-alpha.1
args 1.4.1
async 2.0.6
build 0.12.1
built_collection 3.1.1
built_value 5.4.2
charcode 1.1.1
cli_util 0.1.2+1
collection 1.14.9
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 1.0.9+1 1.0.10
fixnum 0.10.7
front_end 0.1.0-alpha.9 0.1.0-alpha.11
glob 1.1.5
html 0.13.3
isolate 1.1.0 2.0.0
kernel 0.3.0-alpha.9 0.3.0-alpha.11
logging 0.11.3+1
matcher 0.12.1+4
meta 1.1.2
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
quiver 0.24.0 0.29.0+1
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
angel_framework ^1.0.0
build_runner ^0.7.0
test >=0.12.13 <0.13.0