TrustedAdvisorCheckDescription.fromJson constructor
Implementation
factory TrustedAdvisorCheckDescription.fromJson(Map<String, dynamic> json) {
return TrustedAdvisorCheckDescription(
category: json['category'] as String,
description: json['description'] as String,
id: json['id'] as String,
metadata: (json['metadata'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
name: json['name'] as String,
);
}