extension property Null safety

Map<String, dynamic>? extension
@JsonKey(fromJson: castPlatformMapToDartMap), final
  • you can get the value from NIMChatroomMember.extension.
  • you can get the value from NIMChatroomMessage.extension.senderExtension when receiving messages in a chat room.

Implementation

@JsonKey(fromJson: castPlatformMapToDartMap)
final Map<String, dynamic>? extension;