secureProfileUrl property

String secureProfileUrl

The profile image URL with auth

Implementation

String get secureProfileUrl {
  if (requireAuth && chat.chatContext.eKey != null && profileUrl.isNotEmpty) {
    // https://github.com/flutter/flutter/issues/25107
    return '$profileUrl?auth=${chat.chatContext.eKey}';
  }
  return '';
}