clear abstract method

  1. @override
void clear([
  1. String path
])

Removes a value from the global context according to the path passed as parameter.

  • If the provided path doesn't exist, nothing happens.
  • If the provided path refers to a key of a map, the key is removed from the map.
  • If the provided path refers to an element of a list, the element is set to null.
  • If path is ommited, the entire global context is set to null.

Implementation

@override
void clear([String path]);