provideSvg method

  1. @override
String provideSvg(
  1. Uint8List? message
)
override

Provides the SVG string from the loaded Uint8List.

Implementation

@override
String provideSvg(Uint8List? message) {
  if (message == null) {
    return ''; // Return an empty string if message is null
  }
  return utf8.decode(message, allowMalformed: true);
}