The document says
"$values (optional) An array of values to set, keyed by property name"
as an arguement.
I also found snippets like
$term = Term::create([ 'name' => $term_name, 'vid' => $vocabulary_name, ]);
and they worked.
But how exactly do you know what kind of values can be set in the array?
In the case above, where did people take the keys