Patch @Exclude() constructor
This commit is contained in:
parent
2ca0e16dea
commit
b33312edc2
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.2.3+2
|
||||
* Add `exclude: true` to `super` call in `Exclude` constructor.
|
||||
|
||||
# 2.2.3+1
|
||||
* Export `json`, `Codec`, and `Converter` from `dart:convert`.
|
||||
|
||||
|
|
|
@ -7,7 +7,10 @@ export 'package:quiver_hashcode/hashcode.dart' show hashObjects;
|
|||
/// Excludes a field from being excluded.
|
||||
class Exclude extends SerializableField {
|
||||
const Exclude({bool canDeserialize: false, bool canSerialize: false})
|
||||
: super(canDeserialize: canDeserialize, canSerialize: canSerialize);
|
||||
: super(
|
||||
exclude: true,
|
||||
canDeserialize: canDeserialize,
|
||||
canSerialize: canSerialize);
|
||||
}
|
||||
|
||||
/// No longer necessary, as this is the default.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel_serialize
|
||||
version: 2.2.3+1
|
||||
version: 2.2.3+2
|
||||
description: Static annotations powering Angel model serialization. Combine with angel_serialize_generator for flexible modeling.
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/serialize
|
||||
|
|
Loading…
Reference in a new issue