matches method

  1. @override
bool matches(
  1. Object? value
)
override

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);