getDataSourceImplStatementForPostMethodWithoutRequestModel method

List<String> getDataSourceImplStatementForPostMethodWithoutRequestModel(
  1. {required String pascalCaseApiName,
  2. required String apiMethodName,
  3. required String apiName}
)

Implementation

List<String> getDataSourceImplStatementForPostMethodWithoutRequestModel({
  required String pascalCaseApiName,
  required String apiMethodName,
  required String apiName,
}) =>
    [
      "  $kOverride",
      "  $kFutureApiResponse $kCall$pascalCaseApiName() =>",
      "      $kRemoteDataSource$kExecutePost($kPath ${apiMethodName.toUpperCase()}_${apiName.toUpperCase()});"
    ];