ChatPosition.fromJson constructor
Parse from a json
Implementation
factory ChatPosition.fromJson(Map<String, dynamic> json) => ChatPosition(
list: ChatList.fromJson(json['list']),
order: int.parse(json['order']),
isPinned: json['is_pinned'],
source: json['source'] == null ? null : ChatSource.fromJson(json['source']),
);