convertBoundingBox static method
Converts a {left, top, right, bottom} map to a Rect.
Implementation
static Rect convertBoundingBox(Map<dynamic, dynamic> boxMap) => Rect.fromLTRB(
safeGetDouble(boxMap, 'left'),
safeGetDouble(boxMap, 'top'),
safeGetDouble(boxMap, 'right'),
safeGetDouble(boxMap, 'bottom'),
);