rotate static method

String rotate(
  1. int angle
)

Implementation

static String rotate(int angle) {
  if (angle % 90 != 0) {
    throw ArgumentError('Angle must be multiple of 90°');
  }
  return '$_filterRotate($angle)';
}