fromString static method

AWSHttpMethod fromString(
  1. String method
)

Parses the HTTP method from method.

Implementation

static AWSHttpMethod fromString(String method) =>
    values.firstWhere((el) => method.toUpperCase() == el.value);