toBase64 method

String toBase64()

Encodes this string to Base64.

Implementation

String toBase64() => base64.encode(utf8.encode(this));