hasNative property

bool get hasNative

Whether a native layer is attached.

Implementation

bool get hasNative => _native != null;