You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In _requestBalances function in appstate_container.dart file, in requestUpdate function in appstate_container.dart file, keys in requestUpdate function in appstate_container.dart file and in queueContainsRequestWithHash function in account_service.dart file unnecessary objects are created.
There are objects that are created within the routes where a new element is instantiated each time an iteration is made in the code. The correction is simple, you have to create the objects outside the loop. For example, in the image the String combinedBalance could be initialize before the loops. It can be initialize with an empty value, as “”.
The text was updated successfully, but these errors were encountered:
In _requestBalances function in appstate_container.dart file, in requestUpdate function in appstate_container.dart file, keys in requestUpdate function in appstate_container.dart file and in queueContainsRequestWithHash function in account_service.dart file unnecessary objects are created.
There are objects that are created within the routes where a new element is instantiated each time an iteration is made in the code. The correction is simple, you have to create the objects outside the loop. For example, in the image the String combinedBalance could be initialize before the loops. It can be initialize with an empty value, as “”.
The text was updated successfully, but these errors were encountered: