WrapperSessionScanViewConfigOptionLabel.fromJson constructor

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

Implementation

factory WrapperSessionScanViewConfigOptionLabel.fromJson(Map<String, dynamic> json) => WrapperSessionScanViewConfigOptionLabel(
    color: json["color"],
    offsetX: json["offset.x"]?.toDouble(),
    offsetY: json["offset.y"]?.toDouble(),
    size: json["size"],
    text: json["text"],
);