discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

maxLength property

int? get maxLength

Implementation

int? get maxLength => _maxLength;