Future<String?> get asStringAsync async { var s = asString; if (s != null) return s; var bytes = await asByteBufferAsync; if (bytes == null) return null; return bytesToString(bytes.asUint8List(), mimeType); }