array static method
array: a JSON array or a JSON object, as Laravel's array accepts
any PHP array. With keys (array:name,email), every key of the
value must be one of them; a list's keys are its indexes ('0',
'1', ...), as in PHP.
Implementation
static Rule array([List<String>? keys]) => ArrayRule(keys);