fromBase64 static method

Uint8List fromBase64(
  1. String base64Key
)

Decodes a base64 string into key bytes.

Implementation

static Uint8List fromBase64(String base64Key) {
  final bytes = base64.decode(base64Key.trim());
  return Uint8List.fromList(bytes);
}