toJson method

String toJson()

Implementation

String toJson() {
  return json.encode(purchasesSerializers.serializeWith(ProductItemModel.serializer, this));
}