JarTuple class

Inheritance

Constructors

JarTuple(List<JarSchema> schemas)

Properties

asyncTests → List<Future<String?> Function(List? value, JarTestContext context)>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemas → List<JarSchema>
final
self → JarTuple
no setterinherited
tests → List<JarTest<List>>
finalinherited
transformers → List<JarValueTransformer<List>>
finalinherited
validators → List<JarCodedValidator<List>>
finalinherited

Methods

addValidator(JarValidator<List> validator, [String? code]) → JarTuple
inherited
catchValue(List value) → JarTuple
inherited
defaultTo(List value) → JarTuple
inherited
describe() → Map<String, dynamic>
inherited
getAllValues() → Map<String, dynamic>?
inherited
getFieldValue(String fieldName) → List?
inherited
label(String label) → JarTuple
inherited
meta(Map<String, dynamic> meta) → JarTuple
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optional() → JarTuple
required([String? message]) → JarTuple
test(JarTest<List> test) → JarTuple
inherited
testAsync(Future<String?> test(List? value, JarTestContext context)) → JarTuple
inherited
toString() → String
A string representation of this object.
inherited
transform(JarValueTransformer<List> transformer) → JarTuple
inherited
validate(List? value, [Map<String, dynamic>? allValues, String? path, Object? root]) → JarResult
override
validateAll(List? value, [Map<String, dynamic>? allValues, String? path, Object? root]) → JarResult
override
validateAsync(List? value, [Map<String, dynamic>? allValues, String? path, Object? root]) → Future<JarResult>
inherited
when(String field, Map<dynamic, JarTuple Function(JarTuple)> conditions) → JarTuple
inherited
whenFields(List<String> fields, JarTuple builder(List values, JarTuple schema)) → JarTuple
inherited
whenFn(String field, JarTuple builder(dynamic value, JarTuple schema)) → JarTuple
inherited

Operators

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