AttributesSubscriptionCmd constructor

AttributesSubscriptionCmd({
  1. int? cmdId,
  2. String? keys,
  3. required EntityType entityType,
  4. required String entityId,
  5. AttributeScope? scope,
  6. bool unsubscribe = false,
})

Implementation

AttributesSubscriptionCmd(
    {int? cmdId,
    String? keys,
    required EntityType entityType,
    required String entityId,
    AttributeScope? scope,
    bool unsubscribe = false})
    : super(
          cmdId: cmdId,
          keys: keys,
          entityType: entityType,
          entityId: entityId,
          scope: scope,
          unsubscribe: unsubscribe,
          type: WsCmdType.ATTRIBUTES);