copyWith method

AFPrivateState copyWith({
  1. AFTestState? testState,
})

Implementation

AFPrivateState copyWith({
  AFTestState? testState,
}) {
  return AFPrivateState(
    testState: testState ?? this.testState,
  );
}