InventoryItemSchema.fromJson constructor
Implementation
factory InventoryItemSchema.fromJson(Map<String, dynamic> json) {
return InventoryItemSchema(
attributes: (json['Attributes'] as List)
.whereNotNull()
.map(
(e) => InventoryItemAttribute.fromJson(e as Map<String, dynamic>))
.toList(),
typeName: json['TypeName'] as String,
displayName: json['DisplayName'] as String?,
version: json['Version'] as String?,
);
}