Skip to content

Commit e0cf4ae

Browse files
committed
fixup: Use final on temporary local variable.
1 parent d01ab14 commit e0cf4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/store.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class PerAccountStore extends ChangeNotifier {
152152
} else if (event is RealmUserUpdateEvent) {
153153
debugPrint("server event: realm_user op:update");
154154
if (event.person.user_id == user_id) {
155-
String? new_full_name = event.person.full_name;
155+
final String? new_full_name = event.person.full_name;
156156
if (new_full_name != null) {
157157
full_name = new_full_name;
158158
notifyListeners();

0 commit comments

Comments
 (0)