isDeprecated static method

bool isDeprecated(
  1. Map<String, dynamic>? annotations
)

Check if a tool is deprecated

Implementation

static bool isDeprecated(Map<String, dynamic>? annotations) {
  return getDeprecationInfo(annotations) != null;
}