operationType property

OperationType operationType

Gets the corresponding OperationType for this SubscriptionType.

Implementation

OperationType get operationType {
  switch (this) {
    case SubscriptionType.property:
      return OperationType.observeproperty;
    case SubscriptionType.event:
      return OperationType.subscribeevent;
  }
}