isUpdateMethod function

bool isUpdateMethod(
  1. MethodElement method
)

Implementation

bool isUpdateMethod(MethodElement method) {
  if (method.metadata.length == 0) {
    return false;
  }
  var annotation = getAnnotation(method, Update);
  return annotation != null;
}