toBase64 method
Implementation
String toBase64() {
if (this == null) {
throw ArgumentError('string: $this');
}
return base64.encode(utf8.encode(this!));
}
String toBase64() {
if (this == null) {
throw ArgumentError('string: $this');
}
return base64.encode(utf8.encode(this!));
}