Json2DartConfig constructor

const Json2DartConfig({
  1. bool isApi = true,
  2. bool isEndpoint = true,
  3. bool isUnitTest = false,
  4. bool isOnlyUnitTest = false,
  5. bool isReplace = false,
  6. bool isFormat = true,
  7. bool isCubit = true,
  8. String? featureName,
  9. String? pageName,
  10. String? appsName,
  11. String bodyDateFormat = '.toIso8601String()',
  12. String responseDateFormat = '.toIso8601String()',
})

Implementation

const Json2DartConfig({
  this.isApi = true,
  this.isEndpoint = true,
  this.isUnitTest = false,
  this.isOnlyUnitTest = false,
  this.isReplace = false,
  this.isFormat = true,
  this.isCubit = true,
  this.featureName,
  this.pageName,
  this.appsName,
  this.bodyDateFormat = '.toIso8601String()',
  this.responseDateFormat = '.toIso8601String()',
});