Skip to content

Commit

Permalink
style(context.dart): fix typo in private method name
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jun 2, 2024
1 parent 83be3f9 commit 41ee6d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/core/definitions/context.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const _tdVersion11ContextUrl = "https://www.w3.org/2022/wot/td/v1.1";
final class Context {
/// Creates a new context from a list of [contextEntries].
Context(this.contextEntries)
: prefixMapping = _createPrefixMappping(contextEntries);
: prefixMapping = _createPrefixMapping(contextEntries);

/// Determines the default prefix URL via the procedure described in
/// [section 5.3.1.1] of the Thing Description 1.1 specification.
Expand Down Expand Up @@ -57,7 +57,7 @@ final class Context {
return firstContextValue;
}

static PrefixMapping _createPrefixMappping(
static PrefixMapping _createPrefixMapping(
List<ContextEntry> contextEntries,
) {
final defaultPrefixValue = _determineDefaultPrefix(contextEntries);
Expand Down

0 comments on commit 41ee6d7

Please sign in to comment.