Message constructor

Message(
  1. PitelUA ua
)

Implementation

Message(PitelUA ua) {
  _ua = ua;
  _request = null;
  _closed = false;

  _direction = null;
  _local_identity = null;
  _remote_identity = null;

  // Whether an incoming message has been replied.
  _is_replied = false;

  // Custom message empty object for high level use.
  _data = <String, dynamic>{};
}