toMap method
Implementation
Map toMap() {
return {
"albumId": albumId,
"assetId": assetId,
"type": type == MediaType.image ? "IMAGE" : "VIDEO",
"uri": uri,
"imageData": imageData,
};
}
Map toMap() {
return {
"albumId": albumId,
"assetId": assetId,
"type": type == MediaType.image ? "IMAGE" : "VIDEO",
"uri": uri,
"imageData": imageData,
};
}