Rotation(num angle, [ num x, num y, num z ])

Source

@DomName('Rotation.Rotation')
@DocsEditable()
factory Rotation(num angle, [num x, num y, num z]) {
  if ((angle is num) && x == null && y == null && z == null) {
    return _blink.BlinkRotation.instance.constructorCallback_1_(angle);
  }
  if ((z is num) && (y is num) && (x is num) && (angle is num)) {
    return _blink.BlinkRotation.instance
        .constructorCallback_4_(angle, x, y, z);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}