FinchApp constructor
FinchApp({
- required FinchConfigs configs,
- Future<
Request> onRequest(- Request rq
Creates an instance of FinchApp with the specified FinchConfigs and an optional onRequest function.
The configs parameter is required and provides the configuration for the server.
The onRequest parameter, if provided, allows customization of the Request before handling.
Implementation
FinchApp({
required FinchConfigs configs,
this.onRequest,
}) {
FinchApp.config = configs;
debuggerInit();
}