baToJSON function

dynamic baToJSON(
  1. dynamic ba
)

Converts a Uint8List or List<Uint8List> to JSON.

Implementation

baToJSON(ba) {
  return jsonEncode(_baToJSON(ba));
}