getBill method

Future<TransloaditResponse> getBill({
  1. required DateTime date,
})

Gets the bill for a given date Example response body: https://transloadit.com/docs/api/#response

Implementation

Future<TransloaditResponse> getBill({required DateTime date}) async {
  final String dateString = DateFormat('yyyy-MM').format(date);
  final response = await request.httpGet(
      service: service, assemblyPath: "/bill/$dateString");
  return response;
}