Subscription constructor

Subscription(
  1. String name,
  2. dynamic messageHandler(
    1. Object parameter
    )
)

Implementation

Subscription(String name, Function(Object parameter) messageHandler) {
  _name = name;
  _messageHandler = messageHandler;
}