replaceExtras method

Intent replaceExtras(
  1. Bundle? extras
)

Completely replace the extras in the Intent with the given Bundle of extras.

@param extras The new set of extras in the Intent, or null to erase all extras.

Implementation

Intent replaceExtras(Bundle? extras) {
  _extras = extras != null ? Bundle.fromBundle(extras) : null;
  return this;
}