priority property
The Order of the Middlewares to run.
{@tool snippet} This Middewares will be called in this order.
final middlewares = [
GetMiddleware(priority: 2),
GetMiddleware(priority: 5),
GetMiddleware(priority: 4),
GetMiddleware(priority: -8),
];
-8 => 2 => 4 => 5 {@end-tool}
Implementation
final int priority;