getDeviceNFCLocation method
Implementation
Future<DeviceNFCLocation> getDeviceNFCLocation({
required ReadIDFlow flow,
}) {
return Future.sync(() {
return ReadIDPlatform.instance.getDeviceNFCLocation(flow: flow);
}).catchError((error) {
if (error is PlatformException && error.details != null) {
throw Failure.fromJson(Map<String, dynamic>.from(error.details));
}
throw error;
});
}