base64Pad function

String base64Pad(
  1. String value
)

Implementation

String base64Pad(String value) {
  return value.padRight(value.length + (value.length % 4), '=');
}