Created
October 12, 2021 03:31
-
-
Save vaygeth89/b6fcb437321809376aafb7c7b4eef77f to your computer and use it in GitHub Desktop.
Our models
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SignIn { | |
final String email; | |
final String password; | |
SignIn({ | |
required this.email, | |
required this.password, | |
}); | |
} | |
class RenewAccessToken { | |
String refreshToken; | |
RenewAccessToken({ | |
required this.refreshToken, | |
}); | |
} | |
class AuthenticationData { | |
final String id; | |
final String accessToken; | |
final String refreshToken; | |
AuthenticationData({ | |
required this.accessToken, | |
required this.refreshToken, | |
required this.id, | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment