permissions property
List<Permission>
get
permissions
The list of permissions needed for this probe.
Implementation
List<Permission> get permissions {
if (_permissions == null) {
var schema = SamplingPackageRegistry().samplingSchemes[type];
_permissions = (schema != null && schema.dataType is CamsDataTypeMetaData)
? (schema.dataType as CamsDataTypeMetaData).permissions
: [];
}
return _permissions!;
}