ApplicationSummary.fromJson constructor
ApplicationSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ApplicationSummary.fromJson(Map<String, dynamic> json) {
return ApplicationSummary(
applicationId: json['applicationId'] as String,
author: json['author'] as String,
description: json['description'] as String,
name: json['name'] as String,
creationTime: json['creationTime'] as String?,
homePageUrl: json['homePageUrl'] as String?,
labels: (json['labels'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
spdxLicenseId: json['spdxLicenseId'] as String?,
);
}