ByteArray.fromBase64 constructor

ByteArray.fromBase64(
  1. String base64String
)

Decode base64String to ByteArray.

Implementation

factory ByteArray.fromBase64(String base64String) =>
    ByteArray(Uint8List.fromList(base64Decode(base64String)));