BundleDetails.fromJson constructor
BundleDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BundleDetails.fromJson(Map<String, dynamic> json) {
return BundleDetails(
availablePlatforms: (json['availablePlatforms'] as List?)
?.whereNotNull()
.map((e) => (e as String).toPlatform())
.toList(),
bundleId: json['bundleId'] as String?,
description: json['description'] as String?,
iconUrl: json['iconUrl'] as String?,
title: json['title'] as String?,
version: json['version'] as String?,
);
}