# toJson method

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})

## Implementation

    Map<String, dynamic> toJson({ToJsonConfiguration? config}) {
      config = config ?? ToJsonConfiguration();
      Map<String, dynamic> obj = <String, dynamic>{};
      obj["frameAccumulationConfiguration"] =
          frameAccumulationConfiguration.toJson(config: config);
      obj["enableDetection"] = enableDetection;
      obj["incompleteResultHandling"] = incompleteResultHandling.name;
      obj["returnCrops"] = returnCrops;
      return obj;
    }