XPathBinary.fromBase64 constructor

XPathBinary.fromBase64(
  1. String text
)

Creates a new XPathBinary from base64 encoded text.

Implementation

factory fromBase64(String text) => XPathBinary(
  base64Decode(text.replaceAll(RegExp(r'\s+'), '')),
  xsBase64Binary,
);