deleteMetaData method

Future<void> deleteMetaData(
  1. String key
)

Implementation

Future<void> deleteMetaData(String key) async {
  if (key.isEmpty) {
    throw InvalidParameterError();
  }

  final sdk = SendbirdSdk().getInternal();
  await sdk.api.send(UserMetaDataDeleteRequest(key));
  metaData.remove(key);
}