WrapperSessionScanViewConfigOptionDoneButton.fromJson constructor

WrapperSessionScanViewConfigOptionDoneButton.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WrapperSessionScanViewConfigOptionDoneButton.fromJson(Map<String, dynamic> json) => WrapperSessionScanViewConfigOptionDoneButton(
    backgroundColor: json["backgroundColor"],
    cornerRadius: json["cornerRadius"]?.toDouble(),
    fillType: fillTypeValues.map[json["fillType"]],
    fontName: json["fontName"],
    fontSize: json["fontSize"],
    offsetX: json["offset.x"]?.toDouble(),
    offsetY: json["offset.y"]?.toDouble(),
    positionXAlignment: positionXAlignmentValues.map[json["positionXAlignment"]],
    positionYAlignment: positionYAlignmentValues.map[json["positionYAlignment"]],
    textColor: json["textColor"],
    textColorHighlighted: json["textColorHighlighted"],
    title: json["title"],
);