updateExpiry method

  1. @override
Future<void> updateExpiry({
  1. required String topic,
  2. required int expiry,
})
override

Implementation

@override
Future<void> updateExpiry({
  required String topic,
  required int expiry,
}) async {
  _isInitialized();
  await pairings.update(topic, (value) => value.copyWith(expiry: expiry));
}