JsonFileService constructor

JsonFileService(
  1. File file,
  2. {bool allowRemoveAll: false,
  3. bool allowQuery: true,
  4. MapService store}
)

Implementation

JsonFileService(this.file,
    {bool allowRemoveAll: false, bool allowQuery: true, MapService store}) {
  _store = store ??
      new MapService(
          allowRemoveAll: allowRemoveAll == true,
          allowQuery: allowQuery != false);
}