createDataSourceInterface<T> function
Implementation
DataSourceInterface<T> createDataSourceInterface<T>({
Future<T> Function()? loadValueAction,
Future<void> Function(T value, bool hasChange)? onValueUpdatedAction,
}) {
return _DataSourceInterface<T>(
loadValueAction: loadValueAction,
onValueUpdatedAction: onValueUpdatedAction,
);
}