toJson method

Map toJson()

Implementation

Map toJson() {
  return {
    'id': id,
    'type': type,
    'guild_id': guildId,
    'position': position,
    'permission_overwrites': permissionOverwrites,
    'name': name,
    'topic': topic,
    'nsfw': nsfw,
    'last_message_id': lastMessageId,
    'bitrate': bitrate,
    'user_limit': userLimit,
    'rate_limit_per_user': rateLimitPerUser,
    'recipients': recipients,
    'icon': icon,
    'owner_id': ownerId,
    'application_id': applicationId,
    'parent_id': parentId,
    'last_pin_timestamp': lastPinTimestamp,
  };
}