forked from eatvio/eatvio_app
feat(;auth): social
This commit is contained in:
11
lib/features/auth/models/social_exchange_request.dart
Normal file
11
lib/features/auth/models/social_exchange_request.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
class SocialExchangeRequest {
|
||||
final String provider;
|
||||
final String accessToken;
|
||||
|
||||
SocialExchangeRequest({required this.provider, required this.accessToken});
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {'provider': provider, 'access_token': accessToken};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user