Skip to content

Commit 0c09854

Browse files
nicocedronfcarrero
andauthored
AI-128: Regenerate SDK (#9)
* AI-128: Regenerate SDK * feat: Add generated code for ApiKeyCreateResponse, ApiKeyRequest, and ApiKeyResponse This commit adds the generated code for three classes: `ApiKeyCreateResponse`, `ApiKeyRequest`, and `ApiKeyResponse`. These classes are used in the API key functionality of the application. The generated code includes getters, setters, constructors, and other necessary methods for these classes. The changes include: - Added the generated code for `ApiKeyCreateResponse` - Added the generated code for `ApiKeyRequest` - Added the generated code for `ApiKeyResponse` --------- Co-authored-by: Franklin <franklin.carrero@conekta.com>
1 parent f6f59e0 commit 0c09854

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/src/model/order_refund_request.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class _$OrderRefundRequestSerializer implements PrimitiveSerializer<OrderRefundR
5959
yield r'expires_at';
6060
yield serializers.serialize(
6161
object.expiresAt,
62-
specifiedType: const FullType.nullable(int),
62+
specifiedType: const FullType(int),
6363
);
6464
}
6565
yield r'reason';
@@ -100,9 +100,8 @@ class _$OrderRefundRequestSerializer implements PrimitiveSerializer<OrderRefundR
100100
case r'expires_at':
101101
final valueDes = serializers.deserialize(
102102
value,
103-
specifiedType: const FullType.nullable(int),
104-
) as int?;
105-
if (valueDes == null) continue;
103+
specifiedType: const FullType(int),
104+
) as int;
106105
result.expiresAt = valueDes;
107106
break;
108107
case r'reason':

0 commit comments

Comments
 (0)