The flounder is cooked through when the fish flakes easily with a fork and reaches an internal temperature of 145°F. It is important not to overcook the fish to maintain its tenderness and moisture.