isSharedVariablesScope function

bool isSharedVariablesScope(
  1. String scopeId
)

Whether scopeId, a canvas id in variable storage or a published scope key, holds app or page variables instead of a canvas's.

Implementation

bool isSharedVariablesScope(String scopeId) =>
    scopeId == kAppVariablesScope ||
    scopeId == kPageVariablesScope ||
    scopeId.startsWith(kPageVariablesStoragePrefix);