Bundle class

A mapping from String keys to various Parcelable values.

See: https://developer.android.com/reference/android/os/Bundle See: https://github.com/aosp-mirror/platform_frameworks_base/blob/master/core/java/android/os/Bundle.java

Mixed in types

Constructors

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

Properties

hasFileDescriptors bool
Reports whether the bundle contains any parcelled file descriptors. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isEmpty bool
Returns whether the mapping of this Bundle is empty. [...]
read-only
mappings Map<String, dynamic>
See: https://developer.android.com/reference/android/os/Bundle#CREATOR
final
parcelableCreator String
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
Returns the number of mappings contained in this Bundle. [...]
read-only

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. [...]
describeContents() int
Describe any special objects contained in this instance's marshaled representation. [...]
inherited
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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
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. [...]
toString() String
Returns a string representation of this object.
inherited
writeToParcel(Parcel parcel, [int flags = 0]) → void
Flatten this object in to a Parcel. [...]
override

Operators

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

Static Properties

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