toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "invite_link": inviteLink,
    "name": name,
    "creator_user_id": creatorUserId,
    "date": date,
    "edit_date": editDate,
    "expiration_date": expirationDate,
    "member_limit": memberLimit,
    "member_count": memberCount,
    "pending_join_request_count": pendingJoinRequestCount,
    "creates_join_request": createsJoinRequest,
    "is_primary": isPrimary,
    "is_revoked": isRevoked,
  };
}