convertImage method

Uint8List? convertImage(
  1. String base64Image
)

Implementation

Uint8List? convertImage(String base64Image) {
  try {
    return base64Decode(base64Image);
  } catch (error) {
    return null;
  }
}