Add canSerialize, deserialize
This commit is contained in:
parent
73ec77091c
commit
eb8d6c1328
2 changed files with 6 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
||||||
# Generated by pub on 2017-12-07 02:04:15.968150.
|
# Generated by pub on 2018-02-28 16:04:20.895086.
|
||||||
angel_serialize:lib/
|
angel_serialize:lib/
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
/// Excludes a field from being excluded.
|
/// Excludes a field from being excluded.
|
||||||
class Exclude {
|
class Exclude {
|
||||||
const Exclude();
|
final bool canSerialize;
|
||||||
|
|
||||||
|
final bool canDeserialize;
|
||||||
|
|
||||||
|
const Exclude({this.canDeserialize: false, this.canSerialize: false});
|
||||||
}
|
}
|
||||||
|
|
||||||
const Exclude exclude = const Exclude();
|
const Exclude exclude = const Exclude();
|
||||||
|
|
Loading…
Reference in a new issue