toJson method
Returns a json representation of an instance of InputImage.
Implementation
Map<String, dynamic> toJson() => {
'bytes': bytes,
'type': type.name,
'path': filePath,
'metadata': metadata?.toJson()
};
Returns a json representation of an instance of InputImage.
Map<String, dynamic> toJson() => {
'bytes': bytes,
'type': type.name,
'path': filePath,
'metadata': metadata?.toJson()
};