addDeviceInterest method

  1. @override
Future<void> addDeviceInterest(
  1. String interest
)
override

Adds an interest in this device.

Example Usage

function someAsyncFunction() async {
  await PusherBeams.instance.addDeviceInterest('apple');
}

Throws an Exception in case of failure.

Implementation

@override
Future<void> addDeviceInterest(String interest) async {
  await _pusherBeamsApi.addDeviceInterest(interest);
}