getOperationRuntime method

ResourceControllerOperation? getOperationRuntime(
  1. String method,
  2. List<String?> pathVariables
)

Implementation

ResourceControllerOperation? getOperationRuntime(
  String method,
  List<String?> pathVariables,
) {
  return operations.firstWhereOrNull(
    (op) => op.isSuitableForRequest(method, pathVariables),
  );
}