pushState 方法

  1. @SupportedBrowser(SupportedBrowser.CHROME)
  2. @SupportedBrowser(SupportedBrowser.FIREFOX)
  3. @SupportedBrowser(SupportedBrowser.IE, '10')
  4. @SupportedBrowser(SupportedBrowser.SAFARI)
void pushState(
  1. dynamic data,
  2. String title,
  3. String? url
)

实现

@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
void pushState(/*SerializedScriptValue*/ data, String title, String? url) {
  var data_1 = convertDartToNative_SerializedScriptValue(data);
  _pushState_1(data_1, title, url);
  return;
}