grnSubmit abstract method

  1. @POST.new(Api.grnSubmit)
Future<GrnSubmitResponse> grnSubmit({
  1. @Body.new() required dynamic body,
  2. @Header.new("X-User-Id") String xUserId = "",
  3. @Header.new("content-type") String contentType = "application/json",
})

Implementation

@POST(Api.grnSubmit)
Future<GrnSubmitResponse> grnSubmit({
  @Body() required dynamic body,
  // @Header("X-User-Name") String xUserName = "",
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String contentType = "application/json",
});