PlatformViewLayer constructor Null safety
Creates a platform view layer.
The rect
and viewId
parameters must not be null.
Implementation
PlatformViewLayer({
required this.rect,
required this.viewId,
}) : assert(rect != null),
assert(viewId != null);