setDeviceInterests method
Sets the interests
provided with a List.
This overrides and unsubscribe any interests not listed in interests
.
Example Usage
function someAsyncFunction() async {
await PusherBeams.instance.setDeviceInterests(['banana', 'apple', 'garlic']);
}
Throws an Exception in case of failure.
Implementation
@override
Future<void> setDeviceInterests(List<String> interests) async {
await _pusherBeamsApi.setDeviceInterests(interests);
}