feat: order with payment

This commit is contained in:
efrilm
2025-08-03 21:21:48 +07:00
parent 5d74ed0bed
commit afc030f13f
7 changed files with 636 additions and 9 deletions
@@ -561,10 +561,10 @@ class __$$SuccessImplCopyWithImpl<$Res>
@pragma('vm:prefer-inline')
@override
$Res call({
Object? data = freezed,
Object? data = null,
}) {
return _then(_$SuccessImpl(
freezed == data
null == data
? _value.data
: data // ignore: cast_nullable_to_non_nullable
as PaymentData,
@@ -590,12 +590,11 @@ class _$SuccessImpl implements _Success {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$SuccessImpl &&
const DeepCollectionEquality().equals(other.data, data));
(identical(other.data, data) || other.data == data));
}
@override
int get hashCode =>
Object.hash(runtimeType, const DeepCollectionEquality().hash(data));
int get hashCode => Object.hash(runtimeType, data);
/// Create a copy of PaymentFormState
/// with the given fields replaced by the non-null parameter values.