dependencies method

  1. @override
void dependencies()
override

Implementation

@override
void dependencies() {
  final allBindings = [
    if (binding != null) ...[binding!],
    if (inBinding != null) ...[inBinding!],
    if (bindings != null) ...bindings!,
  ];
  for (final binding in allBindings) {
    binding();
  }
}