encodeBase64 method
Encode text to Base64
Implementation
String? encodeBase64() {
if (this == null) {
return null;
}
return base64.encode(utf8.encode(this!));
}
Encode text to Base64
String? encodeBase64() {
if (this == null) {
return null;
}
return base64.encode(utf8.encode(this!));
}