setMag method Null safety

Future<int> setMag(
  1. {dynamic width,
  2. dynamic height}
)

Implementation

static Future<int> setMag({width, height}) async {
  final int p = await _channel
      .invokeMethod('setMag', {'width': width, 'height': height});
  return p;
}