toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'searchCallMessages',
    if (extra != null) '@extra': extra,
    'offset': offset,
    'limit': limit,
    'only_missed': only_missed
  };
}