launch static method Null safety

Future<void> launch(
  1. {String? to,
  2. String? subject,
  3. String? body,
  4. String? dialogTitle}
)

Implementation

static Future<void> launch({
  String? to,
  String? subject,
  String? body,
  String? dialogTitle,
}) =>
    _channel.invokeMethod("launch", {
      "to": to,
      "subject": subject,
      "body": body,
      "dialogTitle": dialogTitle,
    });