AuthMatcher.byMethod constructor

const AuthMatcher.byMethod(
  1. bool matchMethod(
    1. String method
    )
)

provide lambda for method

method will be upper case

url will be all but queries

Implementation

const factory AuthMatcher.byMethod(
  bool Function(String method) matchMethod,
) = AuthMatcherByMethodImpl;