ProductInformation.fromJson constructor

ProductInformation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ProductInformation.fromJson(Map<String, dynamic> json) {
  return ProductInformation(
    productInformationFilterList:
        (json['ProductInformationFilterList'] as List)
            .whereNotNull()
            .map((e) =>
                ProductInformationFilter.fromJson(e as Map<String, dynamic>))
            .toList(),
    resourceType: json['ResourceType'] as String,
  );
}