decodeBase64 function

Map<String, Object?> decodeBase64(
  1. String base64
)

Implementation

Map<String, Object?> decodeBase64(String base64) {
  final json = utf8.decode(base64RawUrl.decode(base64));
  return jsonDecode(json) as Map<String, Object?>;
}