ModelGenerator constructor

ModelGenerator(
  1. String jsonString, {
  2. String className = 'test',
  3. String output = 'output/models',
  4. bool toJson = false,
  5. bool fromJson = false,
})

Creates a new instance of ModelGenerator.

Implementation

ModelGenerator(
  this.jsonString, {
  this.className = 'test',
  this.output = 'output/models',
  this.toJson = false,
  this.fromJson = false,
});