extension property Null safety

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

Extension field that can contain 4000 characters and is submitted by users when joining a chat room

Implementation

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