registerListener function

Future registerListener(
  1. dynamic l,
  2. dynamic path,
  3. dynamic type
)

Register Listener based on path, Value using Local Storage Listener

Implementation

Future registerListener(var l, var path, var type) async{

  ///Register parent path of target Node
  SearchCriteria s = SearchCriteria(searchPath: path);
  ///Set specific attribute of target Node
  s.nodeValueKey = type;
  Storage.controller.registerChangeListener(l, s);

  logger.d(s);
}