Session constructor
Session(
- String? realm,
- AbstractTransport _transport
Implementation
Session(this.realm, this._transport)
/// The realm object my be null but must mach the uri pattern if it was
/// passed The connection should have been established before initializing
/// the session.
: assert(realm == null || UriPattern.match(realm), _transport.isOpen);