addWatermark method

Future<List<int>> addWatermark (
  1. List<int> image,
  2. List<int> watermark
)

Implementation

static Future<List<int>> addWatermark(List<int> image, List<int> watermark) async {

  Map<String, dynamic> args = <String,dynamic>{};


  args.putIfAbsent("image", ()=> image);
  args.putIfAbsent("watermark", ()=> watermark);



  final List<int> watermarkedImage = await _channel.invokeMethod('addWatermark', args);
  return watermarkedImage;
}