sendEmail method

Future<void> sendEmail({
  1. String? body,
  2. required String to,
  3. String? subject,
  4. dynamic onResult(
    1. bool
    )?,
})

Implementation

Future<void> sendEmail(
        {String? body,
        required String to,
        String? subject,
        Function(bool)? onResult}) =>
    _emailService.send(
        body: body, to: to, subject: subject, onResult: onResult);