replaceState method

  1. @override
  2. @Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
void replaceState(
  1. Map? newState, [
  2. SetStateCallback? callback
])
inherited

Do not use.

Will be removed when Component is removed in a future major release.

Implementation

@override
@Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
void replaceState(Map? newState, [SetStateCallback? callback]) => throw _unsupportedError('replaceState');