Instead of this, write above function defintion:
```dart
DataProvider generator(args) {
  return _generator.handle(args);
}
```