provideSvg method

  1. @override
String provideSvg(
  1. void message
)
override

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);
}