updateMetadata method

  1. @override
Future<void> updateMetadata({
  1. required String topic,
  2. required AppMetadata metadata,
})
override

Implementation

@override
Future<void> updateMetadata({
  required String topic,
  required AppMetadata metadata,
}) async {
  _isInitialized();
  await pairings.update(
      topic, (value) => value.copyWith(peerMetadata: metadata));
}