NEVoiceRoomList.fromJson constructor
NEVoiceRoomList.fromJson(
- Map? json
Implementation
NEVoiceRoomList.fromJson(Map? json) {
pageNum = json?['pageNum'] as int?;
hasNextPage = json?['hasNextPage'] as bool?;
list = (json?['list'] as List<dynamic>?)
?.map((e) => NEVoiceRoomInfo.fromJson(Map<String, dynamic>.from(e)))
.toList();
}