launch method

Future<Null> launch (
  1. String path,
  2. String pass,
  3. String mode,
  4. {Rect rect}
)

Implementation

Future<Null> launch(String path, String pass, String mode,
    {Rect rect}) async {
  final args = <String, dynamic>{'path': path, 'pass': pass, 'mode': mode};
  if (rect != null) {
    args['rect'] = {
      'left': rect.left,
      'top': rect.top,
      'width': rect.width,
      'height': rect.height
    };
  }
  await _channel.invokeMethod('launch', args);
}