mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
@ -2,7 +2,7 @@ import 'dart:convert';
|
||||
|
||||
String decodeBase64(String str) {
|
||||
//'-', '+' 62nd char of encoding, '_', '/' 63rd char of encoding
|
||||
var output = str.replaceAll('-', '+').replaceAll('_', '/');
|
||||
String output = str.replaceAll('-', '+').replaceAll('_', '/');
|
||||
switch (output.length % 4) {
|
||||
// Pad with trailing '='
|
||||
case 0: // No pad chars in this case
|
||||
|
Reference in New Issue
Block a user