copyWith method
Implementation
AppState copyWith({
PackageInfo? packageInfo,
bool? fetchTokenLoading,
bool? tokenFetched,
}) {
return AppState(
packageInfo: packageInfo ?? this.packageInfo,
fetchTokenLoading: fetchTokenLoading ?? this.fetchTokenLoading,
tokenFetched: tokenFetched ?? this.tokenFetched,
);
}