toJson method

String toJson()

Implementation

String toJson() {
  return StockModelMapper.ensureInitialized()
      .encodeJson<StockModel>(this as StockModel);
}