Skip to content

Commit

Permalink
feat: make unnamed ThingDescription constructor public
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Nov 1, 2024
1 parent 3765571 commit 7997967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/core/definitions/thing_description.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import "version_info.dart";
@immutable
class ThingDescription {
/// Creates a new Thing Description object.
const ThingDescription._({
const ThingDescription({
required this.context,
required this.title,
required this.security,
Expand Down Expand Up @@ -114,7 +114,7 @@ class ThingDescription {
final additionalFields =
json.parseAdditionalFields(prefixMapping, parsedFields);

return ThingDescription._(
return ThingDescription(
context: context,
title: title,
titles: titles,
Expand Down

0 comments on commit 7997967

Please sign in to comment.