Deprecation constructor

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

Create a new deprecation info.

Implementation

const Deprecation({
  required this.sinceVersion,
  required this.reason,
  this.plannedRemovalVersion,
});