handleRegistrationLink method
Implementation
@override
Future<IAMPASSUser?> handleRegistrationLink(
String registrationLink, String notificationToken) async {
Map<String, String> args = {
"registration_link": registrationLink,
"notification_token": notificationToken
};
final result =
await methodChannel.invokeMethod<String>("RegistrationLink", args);
if (result != null) {
Map<String, dynamic> valueMap = jsonDecode(result);
IAMPASSUser? s = IAMPASSUser.fromJson(valueMap);
return s;
}
return null;
}