matches method
Whether value, decoded from JSON, has the shape described here.
Extra object keys are ignored and array lengths are not checked, so callers decide whether to truncate.
Implementation
@override
bool matches(Object? value) => value is List && value.every(items.matches);