deleteMetaData method

Future<void> deleteMetaData(
  1. String key
)

deleteMetaData

Implementation

Future<void> deleteMetaData(String key) async {
  sbLog.i(StackTrace.current, 'key: $key');

  if (key.isEmpty) {
    throw InvalidParameterException();
  }

  await chat.apiClient.send(UserMetaDataDeleteRequest(chat, key));
  metaData.remove(key);
}