lifecycle method

Future<bool> lifecycle(
  1. JsUiLifecycle type, {
  2. Object? payload,
  3. bool render = true,
})

Sends a general lifecycle type and optionally refreshes the schema.

Implementation

Future<bool> lifecycle(
  JsUiLifecycle type, {
  Object? payload,
  bool render = true,
}) async {
  return _enqueue(() async {
    return _lifecycleImpl(type.name, payload: payload, render: render);
  });
}