fromBase64 static method

Uint8List fromBase64(
  1. String base64
)

转换base64字符串到字节数组

Implementation

static Uint8List fromBase64(String base64) {
  final data = base64Decode(base64);
  return data;
}