ManagedAttributeDescription constructor Null safety

ManagedAttributeDescription(
  1. ManagedEntity entity,
  2. String name,
  3. ManagedType type,
  4. Type? declaredType,
  5. {Serialize? transientStatus,
  6. bool primaryKey = false,
  7. String? defaultValue,
  8. bool unique = false,
  9. bool indexed = false,
  10. bool nullable = false,
  11. bool includedInDefaultResultSet = true,
  12. bool autoincrement = false,
  13. List<ManagedValidator?> validators = const [],
  14. ResponseModel? responseModel,
  15. ResponseKey? responseKey}
)

Implementation

ManagedAttributeDescription(
  super.entity,
  super.name,
  ManagedType super.type,
  super.declaredType, {
  this.transientStatus,
  bool primaryKey = false,
  this.defaultValue,
  super.unique,
  super.indexed,
  super.nullable,
  super.includedInDefaultResultSet,
  super.autoincrement,
  super.validators,
  super.responseModel,
  super.responseKey,
}) : isPrimaryKey = primaryKey;