isLocal property

bool isLocal

When set to true, indicates that this key is a LocalKey. A LocalKey will remain in local storage on the client, and will never be synced to the cloud atServer.

Implementation

bool get isLocal => _isLocal;
void isLocal=(bool isLocal)

Implementation

set isLocal(bool isLocal) {
  if (isLocal == true && sharedWith != null) {
    throw InvalidAtKeyException(
        'sharedWith must be null when isLocal is set to true');
  }
  _isLocal = isLocal;
}