makeSendMail method Null safety

Future<void> makeSendMail(
  1. String mail
)

Implementation

static Future<void> makeSendMail(String mail) async {
  if (kIsWeb) {
    Clipboard.setData(ClipboardData(text: mail));
    showFlushBar(value: true, textTrue: "Texto copiado");
  } else {
    String url = 'mailto:$mail';

      await launch(url);
  }
}