Deprecation.fromJson constructor

Deprecation.fromJson(
  1. Map json
)

Implementation

factory Deprecation.fromJson(Map json) {
  return Deprecation(
    sinceVersion: json['sinceVersion'],
    reason: json['reason'],
    plannedRemovalVersion: json['plannedRemovalVersion'],
  );
}