productDetailsResponseToJson function

String productDetailsResponseToJson(
  1. List<ProductDetailsResponse> data
)

Implementation

String productDetailsResponseToJson(List<ProductDetailsResponse> data) =>
    json.encode(List<dynamic>.from(data.map((x) => x.toJson())));