toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "attempt": attempt,
      "detectionResult":
          List<dynamic>.from(detectionResult.map((x) => x.toJson())),
      "errorMessage": errorMessage,
      "isSuccess": isSuccess,
      "totalTimeMilis": totalTimeMilis,
    };