DeprecationIssueDetails.fromJson constructor
Implementation
factory DeprecationIssueDetails.fromJson(Map<String, dynamic> json) {
return DeprecationIssueDetails(
affectedFrame: json.containsKey('affectedFrame')
? AffectedFrame.fromJson(
json['affectedFrame'] as Map<String, dynamic>)
: null,
sourceCodeLocation: SourceCodeLocation.fromJson(
json['sourceCodeLocation'] as Map<String, dynamic>),
type: json['type'] as String,
);
}