Skip to content

Commit dc4366b

Browse files
committed
Update factory ctor
1 parent 7dcf002 commit dc4366b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dart/lib/src/hint.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Hint {
6262
return hint;
6363
}
6464

65-
factory Hint.withMap(Map<String, Object> map) {
65+
factory Hint.withMap(Map<String, dynamic> map) {
6666
final hint = Hint();
6767
hint.addAll(map);
6868
return hint;
@@ -80,7 +80,7 @@ class Hint {
8080
return hint;
8181
}
8282

83-
// Objects
83+
// Key/Value Storage
8484

8585
void addAll(Map<String, dynamic> keysAndValues) {
8686
_internalStorage.addAll(keysAndValues);

0 commit comments

Comments
 (0)