dictionary property
Implementation
Map<String, double>? get dictionary {
final map = {
if (width != null) "width": width!,
if (height != null) "height": height!,
if (top != null) "top": top!,
if (bottom != null) "bottom": bottom!,
if (left != null) "left": left!,
if (right != null) "right": right!,
};
return map.isEmpty ? null : map;
}