The flex-direction and flex-wrap properties can be specified in a single declaration using the flex-flow shorthand property. The value of one or both of the properties can be specified in any order; the browser determines which value applies to which property.
Source: Sklar David (2016), HTML: A Gentle Introduction to the Web’s Most Popular Language, O’Reilly Media; 1st edition.