InstanceSnapshotInfo.fromJson constructor
Implementation
factory InstanceSnapshotInfo.fromJson(Map<String, dynamic> json) {
return InstanceSnapshotInfo(
fromBlueprintId: json['fromBlueprintId'] as String?,
fromBundleId: json['fromBundleId'] as String?,
fromDiskInfo: (json['fromDiskInfo'] as List?)
?.whereNotNull()
.map((e) => DiskInfo.fromJson(e as Map<String, dynamic>))
.toList(),
);
}