toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'elementId': elementId,
      'file': file,
      'bounds': {'x': x, 'y': y, 'width': width, 'height': height},
    };