Untitled
unknown
plain_text
5 years ago
295 B
8
Indexable
//in fromJson
String profileImage = decompress(json['photo']['data']['data']);
create the responding method
String decodImage (String img) {
Uint8List _decodedImage = Base64Decoder().convert(img);
return String.fromCharCodes(_decodedImage);
} else {
return "";
}
}Editor is loading...