RefreshConfig class

Constructors

RefreshConfig({required Duration staleDuration, required Duration refreshInterval, required bool refreshOnMount, required bool refreshOnQueryFnChange, required bool refreshOnNetworkStateChange})
const
RefreshConfig.withConstantDefaults({Duration? staleDuration, Duration? refreshInterval, bool? refreshOnMount, bool? refreshOnQueryFnChange})
factory
RefreshConfig.withDefaults(BuildContext context, {Duration? staleDuration, Duration? refreshInterval, bool? refreshOnMount, bool? refreshOnQueryFnChange})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
refreshInterval Duration
final
refreshOnMount bool
final
refreshOnNetworkStateChange bool
final
refreshOnQueryFnChange bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staleDuration Duration
final

Methods

copyWith({Duration? staleDuration, Duration? refreshInterval, bool? refreshOnMount, bool? refreshOnQueryFnChange, bool? refreshOnNetworkStateChange}) RefreshConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited