getMockRepoImplStatementWithoutRequestModel method

List<String> getMockRepoImplStatementWithoutRequestModel(
  1. {required String pascalCaseApiName,
  2. required String apiName}
)

Implementation

List<String> getMockRepoImplStatementWithoutRequestModel({
  required String pascalCaseApiName,
  required String apiName,
}) =>
    [
      "  $kOverride",
      "  $kFutureFailureSuccess $kCall$pascalCaseApiName() async {",
      "    ApiResponse apiResponse = await loadFromAssetData(${apiName.toUpperCase()}_API);",
    ];