Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

decode, encode base64 dart

import 'dart:convert';
String encoded = base64.encode(utf8.encode(credentials)); // dXNlcm5hbWU6cGFzc3dvcmQ=
String decoded = utf8.decode(base64.decode(encoded));     // username:password
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #encode #dart
ADD COMMENT
Topic
Name
1+8 =