setEmailAddress method

  1. @override
Future setEmailAddress(
  1. String email
)
override

Set the user email after configuring if they are already logged in or after the user logs in to your app

Implementation

@override
Future setEmailAddress(String email) async {
  try {
    return await _channel
        .invokeMethod(Channels.SET_EMAIL_ADDRESS, {'email': email});
  } catch (e) {
    print(e);
  }
}