dvWebPushBase64Encode function

String dvWebPushBase64Encode(
  1. List<int> bytes
)

Encodes to the unpadded base64url the Web Push APIs use throughout.

Implementation

String dvWebPushBase64Encode(List<int> bytes) =>
    base64Url.encode(bytes).replaceAll('=', '');