toJson method
Implementation
Map<String, dynamic> toJson() {
final algorithmName = this.algorithmName;
final modelDataUrl = this.modelDataUrl;
return {
'AlgorithmName': algorithmName,
if (modelDataUrl != null) 'ModelDataUrl': modelDataUrl,
};
}