SchemaValidationResult class
- Mixed-in types
- Annotations
-
- @MappableClass.new()
Constructors
-
SchemaValidationResult({required List<
String> key, required List<SchemaValidationError> errors}) -
const
-
SchemaValidationResult.constraints(List<
String> path, String message) -
factory
-
SchemaValidationResult.enumViolated(List<
String> path, String value, List<String> possibleValues) -
factory
-
SchemaValidationResult.invalidType(List<
String> path, Object value, String expectedType) -
factory
-
SchemaValidationResult.requiredPropMissing(List<
String> path) -
factory
-
SchemaValidationResult.unallowedAdditionalProperty(List<
String> path, String property) -
factory
-
SchemaValidationResult.valid(List<
String> key) -
const
Properties
-
copyWith
→ SchemaValidationResultCopyWith<
SchemaValidationResult, SchemaValidationResult, SchemaValidationResult> -
no setterinherited
-
errors
→ List<
SchemaValidationError> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid → bool
-
no setter
-
key
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fromJson → const SchemaValidationResult Function(String json)
-
fromMap
→ const SchemaValidationResult Function(Map<
String, dynamic> map)