getCapabilities method
Reports, for every QueryDomain, which operations
(read / write / observe / stream) are usable on this device right
now. Check this before issuing any request — the unsupported
default reports everything as false.
Implementation
@override
Future<CapabilitySnapshot> getCapabilities() async {
getCapabilitiesCalls += 1;
return _capabilities;
}