Skip to content

Commit

Permalink
fix: Correction of error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Dec 14, 2023
1 parent c626d0f commit 6ea9d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/masamune/lib/src/masamune_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class MasamuneAdapterScope<TAdapter extends MasamuneAdapter>
_MasamuneAdapterScope<TAdapter>>();
assert(
scope != null,
"MasamuneAdapterScope<TAdapter> is not found. Place [MasamuneAdapterScope<TAdapter>] widget closer to the root.",
"MasamuneAdapterScope<${TAdapter.toString()}> is not found. Place [MasamuneAdapterScope<${TAdapter.toString()}>] widget closer to the root.",
);
return (scope?.widget as _MasamuneAdapterScope<TAdapter>?)?.adapter;
}
Expand Down

0 comments on commit 6ea9d6b

Please sign in to comment.