call method
void
call(
- LibraryBuilder libraryBuilder
Build a Dart library.
Implementation
void call(LibraryBuilder libraryBuilder) {
final Expression app = declareFinal('app',
type: refer('Router', 'package:spry_router/spry_router.dart'))
.assign(router);
libraryBuilder.body.add(app.statement);
}