text property

String get text

Implementation

String get text {
  switch (this) {
    case BackgroundMessageType.invitation:
      return 'invitation';
    case BackgroundMessageType.cancelInvitation:
      return 'cancel_invitation';
    case BackgroundMessageType.textMessage:
      return 'text_msg';
    case BackgroundMessageType.mediaMessage:
      return 'media_msg';
  }
}