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