favoriteAsset method
Implementation
Future<bool> favoriteAsset(String id, bool favorite) async {
final bool? result = await _channel.invokeMethod(
PMConstants.mFavoriteAsset,
<String, dynamic>{'id': id, 'favorite': favorite},
);
return result == true;
}