Enums class
A Schemake type that enforces that only certain String values may be provided.
- Inheritance
-
- Object
- Converter<
Object?, String> - SchemaType<
String> - NonNull<
String> - Validatable<
String> - Enums
Constructors
- Enums(EnumValidator validator)
-
const
Properties
Methods
-
bind(
Stream< Object?> stream) → Stream<String> -
Transforms the provided
stream
.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>
view of this stream transformer.inherited -
convert(
Object? input) → String -
Converts
input
and returns the result of the conversion.inherited -
dartType(
) → Type -
inherited
-
fuse<
TT> (Converter< String, TT> other) → Converter<Object?, TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< String> sink) → Sink<Object?> -
Starts a chunked conversion.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited