encodeByteListToBase64 function

String encodeByteListToBase64(
  1. List byteList
)

Implementation

String encodeByteListToBase64(List<dynamic> byteList) {
  Uint8List bytes = Uint8List.fromList(byteList.whereType<int>().toList());

  return base64Encode(bytes);
}