StringField class final

Inheritance
Implemented types

Constructors

StringField({required bool required, required String description, required int maxLength, int? minLength, StringFieldFormat? format, String? readTimeDefault, bool? deprecated})
const
StringField.fromJson(Map<String, Object?> json)
factory

Properties

deprecated → bool?
Deprecated fields remain in served wire schemas but leave recommended examples and active converter guidance.
final
description → String
Human/agent-facing docstring, 10–500 characters.
final
format → StringFieldFormat?
Adds format validation at the API boundary.
final
hashCode → int
The hash code for this object.
no setterinherited
maxLength → int
Maximum length in Unicode code points (required bound).
final
minLength → int?
final
readTimeDefault → String?
final
required → bool
Explicit: true = writers pinned to this version must supply the field on create.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
no setter

Methods

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

Operators

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