ModelGetBuilder<M extends FirestoreModel<M>> constructor

const ModelGetBuilder<M extends FirestoreModel<M>>(
  1. {Key? key,
  2. AsyncWidgetBuilder<List<M?>?>? builder,
  3. Query<Object?> query(
    1. Query<Object?> query
    )?,
  4. FirestoreModel<Model>? parentModel,
  5. List<M>? initialData,
  6. LoadingWidget? onLoading,
  7. ErrorWidget? onError,
  8. SuccessWidget<List<M?>>? onSuccess,
  9. EmptyWidget? onEmpty}
)

Implementation

const ModelGetBuilder(
    {Key? key,
    this.builder,
    this.query,
    this.parentModel,
    this.initialData,
    this.onLoading,
    this.onError,
    this.onSuccess,
    this.onEmpty})
    : super(key: key);