StringPropertySchema constructor
StringPropertySchema({
- String? title,
- String? description,
- int? minLength,
- int? maxLength,
- String? pattern,
- StringFormat? format,
- String? defaultValue,
- List<
String> ? enumValue, - List<
EnumOption> ? oneOf, - AcpJsonMap? meta,
Implementation
StringPropertySchema({
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!);