class HistoryMessageDartConstant {
  static const getCount = 20;

  // ignore: constant_identifier_names
  static const V2_TIM_IMAGE_TYPES = {
    'ORIGINAL': 0,
    'BIG': 1,
    'SMALL': 2,
  };

  static Map<V2_TIM_IMAGE_TYPES_ENUM, List<String>> imgPriorMap = {
    V2_TIM_IMAGE_TYPES_ENUM.original: oriImgPrior,
    V2_TIM_IMAGE_TYPES_ENUM.big: bigImgPrior,
    V2_TIM_IMAGE_TYPES_ENUM.small: smallImgPrior,
  };

  // 缩略图优先，大图次之，最后是原图
  static const smallImgPrior = ['ORIGINAL', 'BIG', 'SMALL'];
  // 大图优先，原图次之，最后是缩略图
  static const bigImgPrior = ['SMALL', 'ORIGINAL', 'BIG'];
  // 原图优先，大图次之，最后是缩略图
  static const oriImgPrior = ['SMALL', 'BIG', 'ORIGINAL'];

  // 视频、音频已读状态
  static const int read = 1;
}

enum V2_TIM_IMAGE_TYPES_ENUM {
  original,
  big,
  small,
}

enum IMG_PREVIEW_TYPE {
  local,
  url,
}
