removeFromCache method Null safety

void removeFromCache()

Implementation

void removeFromCache() {
  final sdk = SendbirdSdk().getInternal();
  final cacheKey = this is BaseChannel ? null : key;
  sdk.cache.delete(channelKey: primaryKey, key: cacheKey, data: this);
}