wrap static method
Implementation
static ByteDataRetriever wrap(StringRetriever stringFunction) =>
() => stringFunction().then((value) => value.toByteData());
static ByteDataRetriever wrap(StringRetriever stringFunction) =>
() => stringFunction().then((value) => value.toByteData());