toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'rect': rect.toJson(),
      'flipRectWhileResizing': flipRectWhileResizing,
      'flipChild': flipChild,
      'constraintsEnabled': constraintsEnabled,
      'resizable': resizable,
      'movable': movable,
      'hideHandlesWhenNotResizable': hideHandlesWhenNotResizable,
      'vertical_align': verticalAlign.name,
      'horizontal_align': horizontalAlign.name,
    };