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 []}
)

Implementation

ManagedAttributeDescription(
    ManagedEntity entity, String name, ManagedType type, Type? declaredType,
    {Serialize? transientStatus,
    bool primaryKey = false,
    String? defaultValue,
    bool unique = false,
    bool indexed = false,
    bool nullable = false,
    bool includedInDefaultResultSet = true,
    bool autoincrement = false,
    List<ManagedValidator?> validators = const []})
    : isPrimaryKey = primaryKey,
      defaultValue = defaultValue,
      transientStatus = transientStatus,
      super(entity, name, type, declaredType,
          unique: unique,
          indexed: indexed,
          nullable: nullable,
          includedInDefaultResultSet: includedInDefaultResultSet,
          autoincrement: autoincrement,
          validators: validators);