addPage method

  1. @override
Future<ResultCode> addPage(
  1. bool autoSwitch
)
override

Add new page to the end.

Parameter autoSwitch Auto switch to the new page.

Returns

添加一个新页面到最后。

Parameter autoSwitch 自动切换到新添加的页面。

Returns

Implementation

@override
Future<ResultCode> addPage(bool autoSwitch) {
  return _invokeCodeMethod('addPage', {'autoSwitch': autoSwitch});
}