copyWith method

CommonState copyWith({
  1. Map<String, bool>? loadingStates,
})

Implementation

CommonState copyWith({Map<String, bool>? loadingStates}) {
  return CommonState(
    loadingStates: loadingStates ?? this.loadingStates,
  );
}