toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (duration != null) r'duration': duration,
    if (next != null) r'next': next,
    if (unseen != null) r'unseen': unseen,
    if (unread != null) r'unread': unread,
    if (results != null) r'results': results,
  };
}