Deprecation constructor

const Deprecation(
  1. String id,
  2. {required String? deprecatedIn,
  3. String? description}
)

Constructs a regular deprecation.

Implementation

const Deprecation(this.id, {required String? deprecatedIn, this.description})
    : _deprecatedIn = deprecatedIn,
      isFuture = false;