watermarkListToJson method

List<Map<String, dynamic>> watermarkListToJson()

Convert watermarkList to Json format

Implementation

List<Map<String, dynamic>> watermarkListToJson() {
  List<Map<String, dynamic>> listJson = [];
  if (this.watermarkList.isNotEmpty) {
    for (var watermark in this.watermarkList) {
      listJson.add(watermark.toJson());
    }
  }
  return listJson;
}