addLight method

Future<void> addLight(
  1. LightNode node
)

Add a light node (placeholder -- uses scene defaults on native side).

Implementation

Future<void> addLight(LightNode node) async {
  _ensureAttached();
  await _channel!.invokeMethod('addLight', node.toMap());
}