LexString class
- Annotations
-
- @freezed
Constructors
-
LexString({@Default('string') String type, LexStringFormat? format, String? description, @JsonKey(name: 'default') String? defaultValue, int? minLength, int? maxLength, int? minGraphemes, int? maxGraphemes, @JsonKey(name: 'enum') List<
String> ? enumValues, @JsonKey(name: 'const') String? constValue, List<String> ? knownValues}) -
constfactory
-
LexString.fromJson(Map<
String, Object?> json) -
factory
Properties
- constValue → String?
-
no setterinherited
-
copyWith
→ $LexStringCopyWith<
LexString> -
no setterinherited
- defaultValue → String?
-
no setterinherited
- description → String?
-
no setterinherited
-
enumValues
→ List<
String> ? -
no setterinherited
- format → LexStringFormat?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
knownValues
→ List<
String> ? -
no setterinherited
- maxGraphemes → int?
-
no setterinherited
- maxLength → int?
-
no setterinherited
- minGraphemes → int?
-
no setterinherited
- minLength → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setterinherited
Methods
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited