isLocallyAvailable method
Implementation
Future<bool> isLocallyAvailable(String id, {bool isOrigin = false}) async {
if (Platform.isAndroid) {
return true;
}
final bool result = await _channel.invokeMethod<bool>(
PMConstants.mIsLocallyAvailable,
<String, dynamic>{'id': id, 'isOrigin': isOrigin},
) as bool;
return result;
}