statedCapabilities property
SyncCapabilities?
get
statedCapabilities
capabilities as the peer states them, or null when they claim nothing.
Complete when they were passed at construction, incomplete when they come from the document; see capabilities.
Implementation
SyncCapabilities? get statedCapabilities {
final stated = capabilities;
if (stated.isEmpty) {
return null;
}
return SyncCapabilities(stated, complete: _declaredCapabilities != null);
}