unobserveProperty<T> method

Future<T> unobserveProperty<T>(
  1. String propertyKey
)

stop observing a property

Implementation

Future<T> unobserveProperty<T>(String propertyKey) {
  // retrieve the id associated with this property
  var prop_id = observedProperties[propertyKey];
  observedProperties.remove(prop_id);
  return socket.command<T>('unobserve_property', args: [prop_id.toString()]);
}