RTSchema constructor

RTSchema({
  1. required String type,
  2. String? title,
  3. Map<String, RTSchema>? properties,
  4. String? format,
  5. int? minLength,
  6. int? maxLength,
  7. @JsonKey(name: 'required') List<String>? requiredValues,
  8. String? description,
  9. @JsonKey(name: 'default') int? defaultValue,
  10. @JsonKey(name: 'enum') List<String>? enumValues,
  11. RTSchema? items,
})

Implementation

factory RTSchema({
  required String type,
  String? title,
  Map<String, RTSchema>? properties,
  String? format,
  int? minLength,
  int? maxLength,
  @JsonKey(name: 'required') List<String>? requiredValues,
  String? description,
  @JsonKey(name: 'default') int? defaultValue,
  @JsonKey(name: 'enum') List<String>? enumValues,
  RTSchema? items,
}) = _RTSchema;