factory ParameterConstraints.fromJson(Map<String, dynamic> json) { return ParameterConstraints( required: json['required'] as bool?, ); }