encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    WatermarkType.index,
    imageWatermark?.encode(),
    textWatermark?.encode(),
    timestampWatermark?.encode(),
  ];
}