isEquivalentToSource property Null safety

bool isEquivalentToSource

Implementation

bool get isEquivalentToSource =>
    (rotation == 0) &&
    !_hasCustomVertices &&
    (sourceRectangle.left == 0 &&
        sourceRectangle.top == 0 &&
        sourceRectangle.width == renderTexture.width &&
        sourceRectangle.height == renderTexture.height);