getRotation method

bool getRotation(
  1. String name
)

Returns true if the sub-texture with the given name is rotated.

Implementation

bool getRotation(String name) {
  return _subTextures![name]?.rotated ?? false;
}