controllerById method

  1. @override
StateXController? controllerById(
  1. String? id
)
inherited

Retrieve a StateXController by its a unique String identifier.

Implementation

@override
StateXController? controllerById(String? id) {
  // It's by id, look in the root state first
  StateXController? con = rootState?.controllerById(id);
  return con ??= super.controllerById(id);
}