static Future setData(Uint8List bytes, String mediaType) async => await _setJSData(bytes.toJS, mediaType);