description property

String get description

Provides a description of the current call state.

Implementation

String get description {
  switch (this) {
    case CallState.end:
      return 'End call';
    case CallState.outgoing:
      return 'Dialing outgoing call';
    case CallState.outgoingAccept:
      return 'Outgoing call accepted';
    case CallState.incoming:
      return 'Incoming call';
    case CallState.call:
      return 'Call accepted';
    case CallState.hold:
      return "Holding";
    case CallState.interruptAndHold:
      return "InterruptAndHold";
    case CallState.none:
      return 'Unknown call state';
  }
}