StringField class

Inheritance

Constructors

StringField.new({required String description, List<String>? enumValues, String? defaultValue, bool required = true, String? pattern, int? minLength, int? maxLength, List<String>? examples})
const

Properties

defaultValue String?
finalinherited
description String
finalinherited
enumValues List<String>?
finalinherited
examples List<String>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
maximum String?
finalinherited
maxLength int?
finalinherited
minimum String?
finalinherited
minLength int?
finalinherited
pattern String?
finalinherited
required bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convert(Object? value) String?
override
isValidType(Object? value) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
validate(String? value) bool
override
validateAndConvert(Object? value) ValidationResult<String>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited