# 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["resultAccumulationConfig"] =
          resultAccumulationConfig.toJson(config: config);
      obj["fieldExcludeList"] = fieldExcludeList.map((it) => it).toList();
      obj["configurations"] =
          configurations.map((it) => it.toJson(config: config)).toList();
      obj["returnCrops"] = returnCrops;
      return obj;
    }