typeName property
String
get
typeName
Type-specific prefix used to build error codes for required and
invalid_type. Concrete subclasses return literals like 'string',
'int', 'bool'. Wrappers delegate to the inner schema.
Exposed so third-party schemas can plug into the prefixed-code mechanism — not intended for callers of existing schemas.
Implementation
String get typeName;