summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Bailey <derekbailey@google.com>2023-05-10 16:30:12 -0700
committerDerek Bailey <derekbailey@google.com>2023-05-10 16:30:12 -0700
commit82c67126062b11de15e6265eab6816daaefd4e22 (patch)
tree107eff70f486716b4a96fe78d2881058f9e7639d
parentb5957975c5a823ad28152de089656faec41022fa (diff)
downloadflatbuffers-82c67126062b11de15e6265eab6816daaefd4e22.tar.gz
flatbuffers-82c67126062b11de15e6265eab6816daaefd4e22.tar.bz2
flatbuffers-82c67126062b11de15e6265eab6816daaefd4e22.zip
make loop variable final in dart
-rw-r--r--dart/lib/flat_buffers.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/dart/lib/flat_buffers.dart b/dart/lib/flat_buffers.dart
index 071f3cc9..6f307872 100644
--- a/dart/lib/flat_buffers.dart
+++ b/dart/lib/flat_buffers.dart
@@ -654,7 +654,7 @@ class Builder {
var tail = _tail;
_setUint32AtTail(tail, values.length);
tail -= _sizeofUint32;
- for (var value in values) {
+ for (final value in values) {
_setInt8AtTail(tail, value);
tail -= _sizeofUint8;
}