StateSnapshot<V>.withError constructor

StateSnapshot<V>.withError(
  1. Object error, {
  2. required bool isLoading,
})

Implementation

StateSnapshot.withError(
  Object this.error, {
  required this.isLoading,
})  : value = null,
      source = null;