Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 802c4e8

Browse files
author
github-actions
committed
Prepare release for version 0.62.0
1 parent 7b5faf8 commit 802c4e8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [0.62.0]
44

5-
- Released @ 2024-07-23 12:10:44.772348Z
5+
- Released @ 2024-07-23 12:39:24.404765Z
66
- Add tryOrNull extension to Function class
77
- Update
88

lib/src/collections/src/merge.dart

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import 'dart:collection' show Queue;
1414

1515
import 'package:collection/collection.dart' show mergeMaps;
1616

17-
import '../../../xyz_utils.dart';
1817

1918
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
2019

@@ -102,12 +101,14 @@ Map<String, dynamic> mergeJson(List<Map<String, dynamic>> jsons) {
102101
return merged;
103102
}
104103

105-
Map<String, dynamic> _mergeJson(Map<String, dynamic> map1, Map<String, dynamic> map2) {
104+
Map<String, dynamic> _mergeJson(
105+
Map<String, dynamic> map1, Map<String, dynamic> map2,) {
106106
final result = Map<String, dynamic>.from(map1);
107107

108108
map2.forEach((key, value) {
109109
if (result.containsKey(key)) {
110-
if (value is Map<String, dynamic> && result[key] is Map<String, dynamic>) {
110+
if (value is Map<String, dynamic> &&
111+
result[key] is Map<String, dynamic>) {
111112
result[key] = _mergeJson(result[key], value);
112113
} else {
113114
result[key] = value;

0 commit comments

Comments
 (0)