toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
    "alignment": cutoutConfigAlignmentValues.reverse[alignment],
    "animation": cutoutConfigAnimationValues.reverse[animation],
    "cornerRadius": cornerRadius,
    "cropOffset": cropOffset?.toJson(),
    "cropPadding": cropPadding?.toJson(),
    "feedbackStrokeColor": feedbackStrokeColor,
    "maxHeightPercent": maxHeightPercent,
    "maxWidthPercent": maxWidthPercent,
    "offset": offset?.toJson(),
    "outerAlpha": outerAlpha,
    "outerColor": outerColor,
    "ratioFromSize": ratioFromSize?.toJson(),
    "strokeColor": strokeColor,
    "strokeWidth": strokeWidth,
    "width": width,
};