name property

String? name

Implementation

String? get name {
  switch (this) {
    case SCEvent.connecting:
      return 'connecting';
    case SCEvent.ready:
      return 'ready';
    case SCEvent.disconnect:
      return 'disconnect';
    case SCEvent.close:
      return 'close';
    case SCEvent.authStateChange:
      return 'authStateChange';
    case SCEvent.connectionStateChange:
      return 'connectionStateChange';
    default:
      return null;
  }
}