SuggestedIssue.fromJson constructor

SuggestedIssue.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SuggestedIssue.fromJson(Map<String, Object?> json) {
  return SuggestedIssue(
    id: (json[r'id'] as num?)?.toInt(),
    img: json[r'img'] as String?,
    key: json[r'key'] as String?,
    keyHtml: json[r'keyHtml'] as String?,
    summary: json[r'summary'] as String?,
    summaryText: json[r'summaryText'] as String?,
  );
}