discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

operator <= method

bool operator <=(
  1. Object other
)

Implementation

bool operator <=(Object other) => other is SchemaVersion && compareTo(other) <= 0;