initView method

dynamic initView(
  1. int viewId
)

Implementation

initView(int viewId) {
  _channel = MethodChannel("dahua_player_$viewId");
}