Skip to content

Commit 9709c72

Browse files
committed
final instead of var
1 parent 73d5675 commit 9709c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter/lib/src/method_channel_helper.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MethodChannelHelper {
2424

2525
static List<dynamic> _normalizeList(List<dynamic> data) {
2626
final listToReturn = <dynamic>[];
27-
for (var element in data) {
27+
for (final element in data) {
2828
if (_isPrimitive(element)) {
2929
listToReturn.add(element);
3030
} else if (element is List<dynamic>) {

0 commit comments

Comments
 (0)