|
|
|
|
|
|
|
|
import 'package:farm_tpf/models/password.dart'; |
|
|
import 'package:farm_tpf/models/password.dart'; |
|
|
import 'package:farm_tpf/models/user.dart'; |
|
|
import 'package:farm_tpf/models/user.dart'; |
|
|
import 'package:farm_tpf/models/user_request.dart'; |
|
|
import 'package:farm_tpf/models/user_request.dart'; |
|
|
|
|
|
import 'package:farm_tpf/utils/const_common.dart'; |
|
|
import 'package:retrofit/retrofit.dart'; |
|
|
import 'package:retrofit/retrofit.dart'; |
|
|
|
|
|
|
|
|
part 'rest_client.g.dart'; |
|
|
part 'rest_client.g.dart'; |
|
|
|
|
|
|
|
|
@RestApi(baseUrl: "https://aquaman.aztrace.vn") |
|
|
|
|
|
|
|
|
@RestApi(baseUrl: ConstCommon.baseUrl) |
|
|
abstract class RestClient { |
|
|
abstract class RestClient { |
|
|
factory RestClient(Dio dio, {String baseUrl}) = _RestClient; |
|
|
factory RestClient(Dio dio, {String baseUrl}) = _RestClient; |
|
|
|
|
|
|