num easeInOutBack(num ratio)

Source

static num easeInOutBack(num ratio) {
  ratio = ratio * 2.0;
  return (ratio < 1.0) ? 0.5 * easeInBack(ratio) : 0.5 * easeOutBack(ratio - 1.0) + 0.5;
}