Bundle class

A mapping from String keys to various Parcelable values.

See: https://developer.android.com/reference/android/os/Bundle

Implemented types

Constructors

Bundle()
Constructs a new, empty Bundle. [...]

Properties

hasFileDescriptors bool
Reports whether the bundle contains any parcelled file descriptors. [...]
read-only
isEmpty bool
Returns whether the mapping of this Bundle is empty. [...]
read-only
mappings Map<String, dynamic>
final
size int
Returns the number of mappings contained in this Bundle. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() → void
Removes all elements from the mapping of this Bundle. [...]
containsKey(String key) bool
Returns whether the given key is contained in the mapping of this Bundle. [...]
get(String key) → dynamic
Returns the entry with the given key as an object. [...]
getString(String key) String
Returns the entry with the given key. [...]
putString(String key, String value) → void
Inserts a string value into the mapping of this Bundle, replacing any existing value for the given key. [...]
remove(String key) → void
Removes any entry with the given key from the mapping of this Bundle. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

EMPTY Bundle
The canonical empty bundle. [...]
final