ConversationItemAddedEvent.fromJson constructor

ConversationItemAddedEvent.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory ConversationItemAddedEvent.fromJson(Map<String, dynamic> j) => ConversationItemAddedEvent(
      eventId: j['event_id'] as String,
      previousItemId: j['previous_item_id'] as String?,
      item: RealtimeConversationItem.fromJson(j['item'] as Map<String, dynamic>),
    );