Deprecation constructor

const Deprecation({
  1. required String sinceVersion,
  2. required String reason,
  3. String? plannedRemovalVersion,
})

Implementation

const factory Deprecation({
  required String sinceVersion,
  required String reason,
  String? plannedRemovalVersion,
}) = _Deprecation;