Skip to content

Commit

Permalink
Simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Oct 10, 2023
1 parent f5f8983 commit 2d303f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protobuf/lib/src/protobuf/field_set.dart
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class _FieldSet {

final newValue = fi._createMapField();
_setNonExtensionFieldUnchecked(meta, fi, newValue);
return newValue as PbMap<K, V>;
return newValue;
}

/// Sets a non-extended field and fires events.
Expand Down

0 comments on commit 2d303f3

Please sign in to comment.