restore method Null safety

void restore()

Pops the current save stack, if there is anything to pop. Otherwise, does nothing.

Use save and saveLayer to push state onto the stack.

If the state was pushed with with saveLayer, then this call will also cause the new layer to be composited into the previous layer.


void restore() native 'Canvas_restore';