coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case linear:
      return 0;
    case easeInQuad:
      return 1;
    case easeOutQuad:
      return 2;
    case easeInOutQuad:
      return 3;
    case easeInCubic:
      return 4;
    case easeOutCubic:
      return 5;
    case easeInOutCubic:
      return 6;
    case easeInQuart:
      return 7;
    case easeOutQuart:
      return 8;
    case easeInOutQuart:
      return 9;
    case easeInQuint:
      return 10;
    case easeOutQuint:
      return 11;
    case easeInOutQuint:
      return 12;
    case easeInSine:
      return 13;
    case easeOutSine:
      return 14;
    case easeInOutSine:
      return 15;
    case easeInExpo:
      return 16;
    case easeOutExpo:
      return 17;
    case easeInOutExpo:
      return 18;
    case easeInCirc:
      return 19;
    case easeOutCirc:
      return 20;
    case easeInOutCirc:
      return 21;
  }
}