📅  最后修改于: 2022-03-11 14:55:36.882000             🧑  作者: Mango
@RestApi(baseUrl: "https://xyz.com")
abstract class APIClient {
factory APIClient(Dio dio) = _APIClient;
@GET("/getSplashData")
Future splashData();
@POST("/login")
@FormUrlEncoded()
Future loginPage(@Field("email")emailId,@Field("password")password);
}