init method

  1. @override
void init(
  1. Map args
)
override

Init is typically called right after constructor by framework. args - Arguments passed from parent or through Factory.

Implementation

@override
void init(Map args) {
  super.init(args);

  final route = getActiveRoute();
  if (route != null) {
    printDebug('${this.toString()} at route: ${route.settings.name}');
  }
}