from static method

String? from(
  1. Map<String, dynamic> body
)

The method body asks for with _method, or null when it asks for none or for one that is not PUT, PATCH or DELETE.

Implementation

static String? from(Map<String, dynamic> body) {
  return _allowedMethod(body[field]);
}