controllerById method

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

Retrieve a StateXController by its a unique String identifier.

Implementation

@override
StateXController? controllerById(String? id) {
  final con = super.controllerById(id);
  if (con == null) {
    return null;
  }
  return con as StateXController;
}