registerCallback method

  1. @override
void registerCallback(
  1. DataSetCallback onDataSetChanged
)
override

注册数据变化监听器

Implementation

@override
void registerCallback(DataSetCallback onDataSetChanged) =>
    _dataSetCallbacks.add(onDataSetChanged);