Params class

Params helper class

Constructors

Params()
Default constructor
Params.fromEntries(List<MapEntry<String, dynamic>> entries)
Build Params instance from entries. Internally calls Params::addParam for each entry

Properties

hashCode int
The hash code for this object.
no setterinherited
payload Map<String, dynamic>
internal payload Map<K, V>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addParam(String key, dynamic value) → void
Adds a key/value pair to the payload
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes payload
inherited
toString() String
A string representation of this object.
inherited

Operators

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