HttpSession class
- Implemented types
Constructors
Properties
- entries → Iterable<
MapEntry> read-only, inherited - The map entries of this.
- hashCode → int read-only, inherited
- The hash code for this object. [...]
- id → String read-only
- The id of the current session.
- isEmpty → bool read-only, inherited
- Whether there is no key/value pair in the map.
- isNew → bool read-only
- Whether the session has not yet been sent to the client.
- isNotEmpty → bool read-only, inherited
- Whether there is at least one key/value pair in the map.
- keys → Iterable read-only, inherited
- The keys of this. [...]
- length → int read-only, inherited
- The number of key/value pairs in the map.
- onTimeout ← void Function() write-only
- Sets a callback that will be called when the session is timed out. [...]
- runtimeType → Type read-only, inherited
- A representation of the runtime type of the object.
- values → Iterable read-only, inherited
- The values of this. [...]
Methods
- addAll(
Map other) → void inherited - Adds all key/value pairs of
other
to this map. [...] - addEntries(
Iterable< MapEntry> newEntries) → voidinherited - Adds all key/value pairs of
newEntries
to this map. [...] - cast<
RK, RV> () → Map< RK, RV> inherited - Provides a view of this map as having
RK
keys andRV
instances, if necessary. [...] - clear(
) → void inherited - Removes all entries from the map. [...]
- containsKey(
Object? key) → bool inherited - Whether this map contains the given
key
. [...] - containsValue(
Object? value) → bool inherited - Whether this map contains the given
value
. [...] - destroy(
) → void - Destroys the session. [...]
- forEach(
void action(dynamic key, dynamic value)) → void inherited - Applies
action
to each key/value pair of the map. [...] - map<
K2, V2> (MapEntry< K2, V2> convert(dynamic key, dynamic value)) → Map<K2, V2> inherited - Returns a new map where all entries of this map are transformed by the given
convert
function. - noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed. [...]
- putIfAbsent(
dynamic key, dynamic ifAbsent()) → dynamic inherited - Look up the value of
key
, or add a new entry if it isn't there. [...] - remove(
Object? key) → dynamic inherited - Removes
key
and its associated value, if present, from the map. [...] - removeWhere(
bool test(dynamic key, dynamic value)) → void inherited - Removes all entries of this map that satisfy the given
test
. - toString(
) → String inherited - A string representation of this object. [...]
- update(
dynamic key, dynamic update(dynamic value), {dynamic ifAbsent()}) → dynamic inherited - Updates the value for the provided
key
. [...] - updateAll(
dynamic update(dynamic key, dynamic value)) → void inherited - Updates all values. [...]
Operators
- operator ==(
Object other) → bool inherited - The equality operator. [...]
- operator [](
Object? key) → dynamic inherited - The value for the given
key
, ornull
ifkey
is not in the map. [...] - operator []=(
dynamic key, dynamic value) → void inherited - Associates the
key
with the givenvalue
. [...]
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/HttpSession-class.html