From af848e7fd18f3c7be80affc2c716a99748dbe9d2 Mon Sep 17 00:00:00 2001 From: Jace Hensley Date: Fri, 30 Jun 2017 10:17:42 -0700 Subject: [PATCH] Update prop error message --- lib/src/util/prop_errors.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/util/prop_errors.dart b/lib/src/util/prop_errors.dart index 7c93d0656..15bd2921d 100644 --- a/lib/src/util/prop_errors.dart +++ b/lib/src/util/prop_errors.dart @@ -56,7 +56,7 @@ class PropError extends Error { if (_messagePrefix == requiredPrefix) { explanation = 'Prop $propName is required. '; } else if (_messagePrefix == invalidPrefix) { - explanation = 'Prop $propName set to ${Error.safeToString(invalidValue)}. '; + explanation = 'Prop $propName set to $invalidValue. '; } else if (_messagePrefix == combinationPrefix) { explanation = 'Prop $propName and prop $prop2Name are set to incompatible values. '; } else {