fromData<Y> static method

Implementation

static EndlessFirestoreStreamBuilder fromData<Y>(
  EndlessFirestoreStreamData<Y> data,
) {
  return EndlessFirestoreStreamBuilder<Y>(
    builder: data.builder,
    query: data.query,
    controller: data.controller,
    batchDelegate: data.batchDelegate,
    onLoad: data.onLoad,
  );
}