make<T> static method Null safety

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

Implementation

static ManagedAttributeDescription make<T>(
  ManagedEntity entity,
  String name,
  ManagedType type, {
  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 [],
  ResponseKey? responseKey,
  ResponseModel? responseModel,
}) {
  return ManagedAttributeDescription(
    entity,
    name,
    type,
    T,
    transientStatus: transientStatus,
    primaryKey: primaryKey,
    defaultValue: defaultValue,
    unique: unique,
    indexed: indexed,
    nullable: nullable,
    includedInDefaultResultSet: includedInDefaultResultSet,
    autoincrement: autoincrement,
    validators: validators,
    responseKey: responseKey,
    responseModel: responseModel,
  );
}