saveToCache method Null safety

void saveToCache()

Implementation

void saveToCache() {
  final sdk = SendbirdSdk().getInternal();
  sdk.cache.insert(data: this, channelKey: primaryKey);
}