From eb8d6c13283800fd0c79f21a215e62365c98f71d Mon Sep 17 00:00:00 2001 From: Tobe O Date: Wed, 28 Feb 2018 16:04:58 -0500 Subject: [PATCH] Add canSerialize, deserialize --- angel_serialize/.packages | 2 +- angel_serialize/lib/angel_serialize.dart | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/angel_serialize/.packages b/angel_serialize/.packages index fe880de1..636ac1bf 100644 --- a/angel_serialize/.packages +++ b/angel_serialize/.packages @@ -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/ diff --git a/angel_serialize/lib/angel_serialize.dart b/angel_serialize/lib/angel_serialize.dart index 77824ef0..ead7ab28 100644 --- a/angel_serialize/lib/angel_serialize.dart +++ b/angel_serialize/lib/angel_serialize.dart @@ -1,6 +1,10 @@ /// Excludes a field from being excluded. class Exclude { - const Exclude(); + final bool canSerialize; + + final bool canDeserialize; + + const Exclude({this.canDeserialize: false, this.canSerialize: false}); } const Exclude exclude = const Exclude();