Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.1 kB
1
Indexable
Never
///API path are defined here and referred for network calls
class Apis {
  /*---------------------------------User Profile-------------------------------------*/
  static const String loginUser = "/uaa/oauth/token";

  /*---------------------------------Firebase Sync----------------------------*/

  // static String testBackendController() => '/search/test/hello';

  // static String getAssociatedDishListWithMainDishId(
  //         {bool? accompaniments,
  //         int? mainDishId,
  //         int? page,
  //         int? pageSize,
  //         bool? paired,
  //         bool? varieties}) =>
  //     '/search/dishes?accompaniments=$accompaniments&mainDishId=$mainDishId&page=$page&pageSize=$pageSize&paired=$paired&varieties=$varieties';

  // static String postAssociatedDishes = '/udm/associated-dishes';

  static String postsApi = '/posts';
  static String registerApi = 'api/users/create/user';
  static String getOtpApi = 'api/users/get-otp?phonenumber=';
  static String verifyOTP1 = "api/users/verify-otp/user?phonenumber=";
  static String verifyOTP2 = "&code=";

}