setTitle method

Future setTitle(
  1. string title
)

{zh} @brief 设置标题 @param title 标题

Implementation

Future setTitle(string title) async {
  $a() => ($instance as $p_a.BDVideoUploader).setTitle(title);
  $i() => ($instance as $p_i.BDVideoUploaderClient).setTitle(title);

  if (Platform.isAndroid) {
    return $a();
  } else if (Platform.isIOS) {
    return $i();
  } else {
    throw UnsupportedError(
      'Not Support Platform ${Platform.operatingSystem}',
    );
  }
}