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