base46_decode static method

Object? base46_decode(
  1. String? v
)

Implementation

static Object? base46_decode(String? v) {
  if (v == null || v.isEmpty) return null;

  final bytes = base64Decode(v);
  final stringChars = String.fromCharCodes(bytes);
  final value = utf8.decode(stringChars.codeUnits);
  return json.decode(value);
}