Use List.fixedLength.