printAreaSize method Null safety

Future<int> printAreaSize(
  1. {dynamic offset,
  2. dynamic horizontal,
  3. dynamic vertical,
  4. dynamic height,
  5. dynamic qty}
)

Implementation

static Future<int> printAreaSize(
    {offset, horizontal, vertical, height, qty}) async {
  final int p = await _channel.invokeMethod('printAreaSize', {
    'offset': offset,
    'horizontal': horizontal,
    'vertical': vertical,
    'height': height,
    'qty': qty
  });
  return p;
}