Top of the line, the best.
It's a military reference, where the "flagship" of the fleet is the commander's ship - the biggest, best, fastest, most armored, etc...
Not always the biggest, just a ship picked to be the flagship, Like in japan the USS Blue Ridge is the flagship, and in no way is it the biggest, fastest or best in that battle group. Just fyi.