toJson method

String toJson()

Implementation

String toJson() {
  return ProductModelMapper.ensureInitialized()
      .encodeJson<ProductModel>(this as ProductModel);
}