Map<String, double?> toMap() { return { 'top': top, 'left': left, 'right': right, 'bottom': bottom, }; }