MessageCalendar.fromJson constructor
Parse from a json
Implementation
factory MessageCalendar.fromJson(Map<String, dynamic> json) =>
MessageCalendar(
totalCount: json['total_count'],
days: List<MessageCalendarDay>.from((json['days'] ?? [])
.map((item) => MessageCalendarDay.fromJson(item))
.toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);