remap method
Implementation
Rect remap(Offset Function(Offset point)? remapper) => [
remapper?.call(topLeft) ?? topLeft,
remapper?.call(topRight) ?? topRight,
remapper?.call(bottomRight) ?? bottomRight,
remapper?.call(bottomLeft) ?? bottomLeft,
].toRect();