CodeHandler class

Constructors

CodeHandler()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAddBlocAfterSuperApiBaseBloc({required String pascalCaseApiName, required String apiName}) → List<String>
getBlocAppendAfterContainString({required String pascalCaseApiName}) → String
getBlocConstructorParameter({required String useCaseName}) → String
getBlocConstructorParameterAnchor() → String
The apiBaseBloc parameter of the bloc constructor, used as the anchor to append further named parameters to that list.
getBlocStatementsShimmerChoiceN({required String pascalCaseApiName, required String apiName, required String usCaseEvent}) → List<String>
getBlocStatementsShimmerChoiceY({required String pascalCaseApiName, required String apiName, required String usCaseEvent}) → List<String>
getBlocStatementWithoutResponseModel({required String pascalCaseApiName}) → String
getBlocStatementWithResponseModel({required String responseModelName, required String responseName, required String pascalCaseApiName}) → String
getConstantStringAppend({required String apiType, required String apiName, required String endPoint}) → String
getDataSourceImplStatementForGetMethodWithoutRequestModel({required String pascalCaseApiName, required String apiMethodName, required String apiName}) → List<String>
getDataSourceImplStatementForGetMethodWithRequestModel({required String pascalCaseApiName, required String requestModelName, required String apiMethodName, required String apiName}) → List<String>
getDataSourceImplStatementForMultipartMethod({required String pascalCaseApiName, required String requestModelName, required String apiMethodName, required String apiName, required List<String> multipartFileKeys, required List<String> multipartFileListKeys}) → List<String>
getDataSourceImplStatementForPostMethodWithoutRequestModel({required String pascalCaseApiName, required String apiMethodName, required String apiName}) → List<String>
getDataSourceImplStatementForPostMethodWithRequestModel({required String pascalCaseApiName, required String requestModelName, required String apiMethodName, required String apiName}) → List<String>
getDataSourceStatementWithoutRequestModel({required String pascalCaseApiName}) → String
getDataSourceStatementWithRequestModel({required String pascalCaseApiName, required String requestModelName}) → String
getDiGetterStatement({required String pascalCaseFeatureName}) → String
getEventStatementWithoutResponseModel({required String pascalCaseApiName, required String featureNamePascalCase}) → String
getEventStatementWithResponseModel({required String pascalCaseApiName, required String featureNamePascalCase, required String requestModelName}) → String
getExtendsBaseBloc({required String pascalCaseApiName}) → String
getImageConstantStringAppend({required String imageConstantName, required String imageDirectoryName, required String imageFileName}) → String
getInjectionContainerStatement({required String pascalCaseFeatureName}) → String
getInjectionContainerStatements({required String pascalCase, required String featureName}) → List<String>
getMockConstantStringAppend({required String apiName, required String endPoint}) → String
getMockDiGetterStatement({required String pascalCaseFeatureName}) → String
getMockRepoImplStatementWithoutRequestModel({required String pascalCaseApiName, required String apiName}) → List<String>
getMockRepoImplStatementWithRequestModel({required String pascalCaseApiName, required String requestModelName, required String apiName, bool logRequest = false}) → List<String>
logRequest passes the request model to loadFromAssetData so the mock call logs it; only for boilerplates whose loadFromAssetData takes {Object? request}.
getMockRepoStatementWithoutResponseModel() → String
getMockRepoStatementWithResponseModel({required String responseModelName}) → String
getPageReplacementString({required String useCaseName}) → String
getPageSearchString() → String
No trailing comma: Dart 3.7's formatter collapses a short argument list onto one line and drops it, so an anchor that ended in , stopped matching. Without it the anchor matches both the wrapped and the collapsed layout.
getProdDiGetterStatement({required String pascalCaseFeatureName}) → String
getRepoImplStatementWithoutRequestModel({required String pascalCaseApiName}) → List<String>
getRepoImplStatementWithRequestModel({required String pascalCaseApiName, required String requestModelName}) → List<String>
getRepoStatementWithoutRequestModel({required String pascalCaseApiName}) → String
getRepoStatementWithoutResponseModel() → String
getRepoStatementWithRequestModel({required String requestModelName, required String pascalCaseApiName}) → String
getRepoStatementWithResponseModel({required String responseModelName}) → String
getStateStatementShimmerChoiceY({required String pascalCaseApiName, required String featureNamePascalCase}) → String
getStateStatementsWithoutRequestModel({required String pascalCaseApiName, required String featureNamePascalCase}) → List<String>
getStateStatementsWithRequestModel({required String pascalCaseApiName, required String responseModelName, required String featureNamePascalCase}) → List<String>
getUseCaseEventNoRequest({required String useCaseName}) → String
getUseCaseEventWithRequestModel({required String useCaseName}) → String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited