DeprecationInfo.fromJson constructor

DeprecationInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DeprecationInfo.fromJson(Map<String, dynamic> json) => DeprecationInfo(
  version: json['version'] as String,
  reason: json['reason'] as String,
  replacement: json['replacement'] as String?,
  removalVersion: json['removalVersion'] as String?,
);