MapSchema class

Schema for map/object values

Implemented types

Constructors

MapSchema(Map<String, EventSchema> properties, {bool required = false, bool additionalProperties = true})
const

Properties

additionalProperties bool
final
hashCode int
The hash code for this object.
no setterinherited
properties Map<String, EventSchema>
final
required bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getErrors(Map<String, dynamic>? value) List<String>
Get validation errors
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(Map<String, dynamic>? value) bool
Validate the event data
override

Operators

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