toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'chatMember',
    if (extra != null) '@extra': extra,
    'member_id': member_id,
    'inviter_user_id': inviter_user_id,
    'joined_chat_date': joined_chat_date,
    'status': status
  };
}