getDataSourceImplStatementForGetMethodWithoutRequestModel method

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

Implementation

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