fromId static method
Returns the deprecation with a given ID, or null if none exists.
Implementation
static Deprecation? fromId(String id) => Deprecation.values.firstWhereOrNull(
(deprecation) => deprecation.id == id,
);
Returns the deprecation with a given ID, or null if none exists.
static Deprecation? fromId(String id) => Deprecation.values.firstWhereOrNull(
(deprecation) => deprecation.id == id,
);