addNum method

dynamic addNum(
  1. dynamic num
)

Implementation

addNum(num){
  print('--->addNum=$num');
  methodChannel.invokeMethod('addNum',{'num': num});
}