RouteArgs class
Inheritance
Available Extensions
Methods
add <T > ({dynamic key , required dynamic value })
→ void
Adds value
to data store under given key
.
ControlFactory.keyOf is used to determine store key.
inherited
clear ()
→ void
Clears whole data store.
inherited
combine (ControlArgs args )
→ void
Combines this store with given args
.
inherited
containsKey (dynamic key )
→ bool
Whether this args contains the given key
.
inherited
dispose ()
→ void
Used to clear and dispose object.
After this method call is object typically unusable and ready for GC.
Can be called multiple times!
inherited
format (dynamic args , [ParamDecoratorFormat ? decorator ])
→ String
get <T > ({dynamic key , T? defaultValue })
→ T?
Returns object of given key
or defaultValue
.
inherited
getAll <T > ({Predicate ? test })
→ List <T >
Returns all items for given test
.
inherited
getWithFactory <T > ({dynamic key , T defaultValue ()? })
→ T?
Returns object of given key
or initialize defaultValue
and stores that value to args store.
inherited
merge (ControlArgs args )
→ ControlArgs
Combines this store with given args
.
Returns new ControlArgs that contains both args
.
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop <T > ({dynamic key })
→ T?
Removes and returns item by Type or key
.
inherited
printDebugStore ()
→ void
inherited
remove <T > ({dynamic key })
→ T?
Removes item by Type or key
.
inherited
removeAll <T > ({Predicate ? test })
→ void
Removes all items for given test
.
inherited
set (dynamic args )
→ void
Parses input data and stores them as key: value pair.
Can store any type of data - Map, Iterable, Objects and more..
Map - is directly added to data store.
Iterable - is parsed and data are stored under their Type .
Object - is stored under his Type .
Other ControlArgs is combined.
inherited
toString ()
→ String
A string representation of this object.
inherited