AsserestPropertyParser class final

A parser for parsing Map data to AsserestProperty.

Constructors

AsserestPropertyParser.new()
Call the current instance of AsserestPropertyParser.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

define(PropertyParseProcessor<AsserestProperty> processor, {bool replaceIfDefined = false}) → void
Define a new PropertyParseProcessor.
isDefined(String scheme) bool
Determine the given scheme is defined already.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(Map<String, dynamic> propertyMap) AsserestProperty
Parse propertyMap to corresponsed AsserestProperty.
parseList(List<Map<String, dynamic>> propertyMaps) List<AsserestProperty>
parse multiple propertyMaps into a single List.
removeDefined(Object scheme) → void
Remove defined processor(s) with given scheme.
reset() → void
Reset all mapped processors.
toString() String
A string representation of this object.
inherited

Operators

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