Bundle.from constructor
Bundle.from(
- Object data
Creates a bundle from the provided map. The map is assumed to be of type:
Map<Object?, Object?>
. See: asFlatStructure
Implementation
Bundle.from(Object data) {
final source = data as Map<Object?, Object?>;
source.forEach((key, value) {
if (key != null) {
_internalMap[key.toString()] = value;
}
});
}