ModelGenerator constructor

ModelGenerator(
  1. String _rootClassName, [
  2. bool _privateFields = false,
  3. bool? _withCopyConstructor,
  4. List<Hint>? hints,
])

Implementation

ModelGenerator(this._rootClassName,
    [this._privateFields = false,
    this._withCopyConstructor,
    List<Hint>? hints]) {
  if (hints != null) {
    this.hints = hints;
  } else {
    this.hints = <Hint>[];
  }
}