NutrientViewHandle.forPlatform constructor

NutrientViewHandle.forPlatform(
  1. int viewId
)

Factory constructor for platform implementations.

Platform implementations should use this to create handle instances.

Implementation

factory NutrientViewHandle.forPlatform(int viewId) {
  return NutrientViewHandle._(viewId);
}