isPayed static method
Check if any application is payed into apklis
Implementation
static Future<bool> isPayed(String packageName) async {
final Map? map = await (channel.invokeMapMethod('isPurchased', packageName));
if (map != null) {
if(map['paid'] != null && map['username'] != null) {
return map['paid'];
}
}
return false;
}