Created
June 15, 2020 18:56
-
-
Save ookami-kb/e2bae6fdbc2776ed1e9d022c133e9800 to your computer and use it in GitHub Desktop.
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
@RestApi() | |
abstract class RestClient { | |
factory RestClient(Dio dio) = _RestClient; | |
@POST('/api/general/v1/users/signOut') | |
Future<EmptyResponse> signOut(@Body() SignOutRequest request); | |
} | |
@JsonSerializable() | |
class EmptyResponse { … } | |
@JsonSerializable() | |
class SignOutRequest { … } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment