fromJson static method

Product? fromJson(
  1. String jsonString
)

Implementation

static Product? fromJson(String jsonString) {
  return serializers.deserializeWith(
      Product.serializer, json.decode(jsonString));
}