OcrPoint.fromJson constructor

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

Implementation

factory OcrPoint.fromJson(Map<String, dynamic> json) => OcrPoint(
  x: (json["x"] ?? json["a"]).toDouble(),
  y: (json["y"] ?? json["b"]).toDouble(),
);