provideSvg method
Will be called in compute
with the result of prepareMessage.
Implementation
@override
String provideSvg(void message) {
final Uint8List bytes = file.readAsBytesSync();
return utf8.decode(bytes, allowMalformed: true);
}
Will be called in compute
with the result of prepareMessage.
@override
String provideSvg(void message) {
final Uint8List bytes = file.readAsBytesSync();
return utf8.decode(bytes, allowMalformed: true);
}