secureProfileUrl property Null safety

String? secureProfileUrl

Profile image url with auth

Implementation

String? get secureProfileUrl {
  final sdk = SendbirdSdk().getInternal();
  if (requireAuth &&
      sdk.sessionManager.getEKey() != null &&
      profileUrl != null) {
    //https://github.com/flutter/flutter/issues/25107
    return '$profileUrl?auth=${sdk.sessionManager.getEKey()}';
  }
  return null;
}