changeEmail method
Implementation
@override
Future<String> changeEmail(String newEmail) async {
try {
final magicLinkId = await methodChannel
.invokeMethod<String>('changeEmail', {'newEmail': newEmail});
return magicLinkId!;
} catch (e) {
throw PassageError.fromObject(object: e);
}
}