Skip to content

Commit 3c083f7

Browse files
fix type definiton of IdToken class
1 parent 9b7bef4 commit 3c083f7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/models/request/id_token.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'package:json_annotation/json_annotation.dart';
22

33
part 'id_token.g.dart';
44

5-
@JsonSerializable()
5+
@JsonSerializable(includeIfNull: false)
66
class IdToken {
77
final String token;
88
final String? nonce;

lib/models/request/id_token.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: better_auth_client
22
description: "A client package for Better Auth. Allow you use Better Auth in your Dart applications"
3-
version: 0.0.8
3+
version: 0.0.9
44
repository: https://github.com/phantomknight287/better_auth_client
55

66
environment:

0 commit comments

Comments
 (0)