value property

double get value

Return a defined value for the given enum type

Implementation

double get value {
  switch (this) {
    case AnimationEnd.EXTREMELY_ON_TOP:
      return -7;
    case AnimationEnd.MODERATELY_ON_TOP:
      return -3;
    case AnimationEnd.NORMAL:
      return 0;
    case AnimationEnd.MODERATELY_ON_BOTTOM:
      return 3;
    case AnimationEnd.EXTREMELY_ON_BOTTOM:
      return 7;
    default:
      return 0;
  }
}