W3cubDocs

/Dart 2

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");
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/CssScale/CssScale.html