toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      if (missedCalls != null) 'missed_calls': missedCalls,
      if (unread != null) 'unread': unread,
    };