getViewById method

Object getViewById(
  1. int viewId
)

Returns the view previously created for viewId.

Throws if no view has been created for viewId.

Implementation

Object getViewById(int viewId) {
  return PlatformViewManager.instance.getViewById(viewId);
}