CssScale constructor

CssScale(num x, [ num y, [ num z ])

Implementation

factory CssScale(num x, num y, [num z]) {
  if ((y is num) && (x is num) && z == null) {
    return CssScale._create_1(x, y);
  }
  if ((z is num) && (y is num) && (x is num)) {
    return CssScale._create_2(x, y, z);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}