NIMChatroomQueueEntry.fromMap constructor Null safety

NIMChatroomQueueEntry.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory NIMChatroomQueueEntry.fromMap(Map<String, dynamic> map) {
  return NIMChatroomQueueEntry(
    key: map['key'] as String,
    value: map['value'] as String?,
  );
}