methods property
Configures the Access-Control-Allow-Methods CORS header. Expects a comma-delimited string (ex: 'GET,PUT,POST') or an array (ex: ['GET', 'PUT', 'POST']
).
Default: ['GET', 'HEAD', 'PUT', 'PATCH', 'POST', 'DELETE˝']
Implementation
final List<String> methods = [];