sendEmail static method

Future<AuthResult> sendEmail(
  1. String email,
  2. String scene
)

send an email.

Implementation

static Future<AuthResult> sendEmail(String email, String scene) async {
  var body = jsonEncode({'email': email, 'scene': scene});
  final Result result = await post('/api/v2/email/send', body);
  return AuthResult(result);
}