File tree 5 files changed +13
-9
lines changed
5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.2.13
2
+
3
+ * bump dependencies to latest
4
+
1
5
## 2.2.12+1
2
6
3
7
* downgrade ` meta ` dependency to improve package compatibility
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class ChangeAnalyzer {
12
12
Map <String , ComparableClassElement > getClassesMap (
13
13
Iterable <ClassElement > classes) =>
14
14
classes.fold ({}, (value, element) {
15
- value[element.getDisplayString (withNullability : false )] =
15
+ value[element.getDisplayString ()] =
16
16
ComparableClassElement (element);
17
17
return value;
18
18
});
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class LibraryVisitor extends RecursiveElementVisitor {
43
43
meta
44
44
.computeConstantValue ()!
45
45
.type!
46
- .getDisplayString (withNullability : false ) ==
46
+ .getDisplayString () ==
47
47
_annotationClassName)) {
48
48
visitedPublicAnnotatedClassElements.putIfAbsent (
49
49
element.id, () => element);
@@ -62,7 +62,7 @@ class LibraryVisitor extends RecursiveElementVisitor {
62
62
meta
63
63
.computeConstantValue ()!
64
64
.type!
65
- .getDisplayString (withNullability : false ) ==
65
+ .getDisplayString () ==
66
66
_annotationClassName)) {
67
67
visitedPublicAnnotatedEnumElements.putIfAbsent (
68
68
element.id, () => element);
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const jsonConstructor = JsonConstructor();
10
10
11
11
/// [JsonConstructor] is used as metadata, to annotate specific Dart class constructor
12
12
/// being used for deserialization
13
- @Target ({}) // should be [ TargetKind.constructor] but it doesn't exists :(
13
+ @Target ({TargetKind .constructor})
14
14
class JsonConstructor {
15
15
/// Scheme marker to associate this meta information with particular mapping scheme
16
16
final dynamic scheme;
Original file line number Diff line number Diff line change 1
1
name : dart_json_mapper
2
- version : 2.2.12+1
2
+ version : 2.2.13
3
3
description : >
4
4
This package allows programmers to annotate Dart objects in order to
5
5
serialize / deserialize them from / to JSON.
6
6
homepage : https://github.com/k-paxian/dart-json-mapper
7
7
environment :
8
8
sdk : ' >=2.17.0 <4.0.0'
9
9
dependencies :
10
- analyzer : ^6.4.1
10
+ analyzer : ^6.5.0
11
11
build : ^2.4.1
12
12
build_config : ^1.1.1
13
13
intl : ^0.19.0
14
- meta : ^1.11 .0
14
+ meta : ^1.15 .0
15
15
path : ^1.8.3
16
- reflectable : ^4.0.6
16
+ reflectable : ^4.0.9
17
17
collection : ^1.18.0
18
- pubspec_parse : ^1.2.3
18
+ pubspec_parse : ^1.3.0
19
19
dev_dependencies :
20
20
lints :
21
21
build_runner :
You can’t perform that action at this time.
0 commit comments