ModelDefinition constructor

ModelDefinition({
  1. required String className,
  2. required List<ModelField> fields,
  3. bool constructor = true,
  4. bool equatable = true,
  5. bool copyWith = false,
  6. bool fromMap = true,
  7. bool toMap = false,
})

Implementation

ModelDefinition({
  required this.className,
  required this.fields,
  this.constructor = true,
  this.equatable = true,
  this.copyWith = false,
  this.fromMap = true,
  this.toMap = false,
});