controller property

S controller

Implementation

S get controller {
  try {
    return Dependency.find<S>(tag: tag);
  } catch (e) {
    throw 'Exception : Can\'t find $S\n'
        'Please add the following code inside $runtimeType:\n\n'
        '@override\n'
        '$S bindController() => () => $S();\n'
        '\nException: class $S is not present in the Dependency store\n';
  }
}