values constant Null safety

List<Method> const values

A constant List of the values in this enum, in order of their declaration

Implementation

static const List<Method> values = [
  head,
  get,
  post,
  put,
  patch,
  delete,
  options
];