getExtra method
Retrieve extended data from the intent.
@param name The name of the desired item. @param defaultValue The default value to return in case no item is associated with the key 'name'
@return the value of an item previously added with putExtra(), or defaultValue if none was found.
@see #putExtra
@deprecated @hide
Implementation
@deprecated
dynamic getExtra(String name, dynamic defaultValue) {
var result = defaultValue;
if (_extras != null) {
var result2 = _extras!.get(name);
if (result2 != null) {
result = result2;
}
}
return result;
}