ElicitationPropertySchemaString constructor

ElicitationPropertySchemaString({
  1. required String type,
  2. String? title,
  3. String? description,
  4. int? minLength,
  5. int? maxLength,
  6. String? pattern,
  7. StringFormat? format,
  8. String? defaultValue,
  9. List<String>? enumValue,
  10. List<EnumOption>? oneOf,
  11. AcpJsonMap? meta,
})

Implementation

ElicitationPropertySchemaString({
  required this.type,
  this.title,
  this.description,
  this.minLength,
  this.maxLength,
  this.pattern,
  this.format,
  this.defaultValue,
  List<String>? enumValue,
  List<EnumOption>? oneOf,
  AcpJsonMap? meta,
}) : enumValue = enumValue == null ? null : List.unmodifiable(enumValue!),
     oneOf = oneOf == null ? null : List.unmodifiable(oneOf!),
     meta = meta == null ? null : deepFreezeAcpJsonMap(meta!),
     super();