ConnectionInfo constructor

ConnectionInfo(
  1. String controllerId
)

Default constructor.

Implementation

ConnectionInfo(this.controllerId) {
  if (controllerId.length != 24) {
    throw ('The controller\'s id needs to have a length of 24');
  }
}