middlewareStub top-level property

String middlewareStub
getter/setter pair

Implementation

String middlewareStub = '''
import 'package:vania/vania.dart';

class MiddlewareName extends Middleware {
  @override
  handle(Request req) async {
    next?.handle(req);
  }
}
''';