copyWithOrderStateTransitionError method
Implementation
OrderStateTransitionError copyWithOrderStateTransitionError({
ErrorCode? errorCode,
String? fromState,
String? message,
String? toState,
String? transitionError,
}) {
return copyWith(
errorCode: errorCode,
fromState: fromState,
message: message,
toState: toState,
transitionError: transitionError,
);
}