value property

int value

Byte values of the flags

Implementation

int get value {
  switch (this) {
    case MessageFlag.crossposted:
      return 1 << 0;
    case MessageFlag.isCrosspost:
      return 1 << 1;
    case MessageFlag.suppressEmbeds:
      return 1 << 2;
    case MessageFlag.sourceMessageDeleted:
      return 1 << 3;
    case MessageFlag.urgent:
      return 1 << 4;
    case MessageFlag.hasThread:
      return 1 << 5;
    case MessageFlag.ephemeral:
      return 1 << 6;
    case MessageFlag.loading:
      return 1 << 7;
  }
}