Add clarifying comment to Intl.select, to clarify the required ordering of arguments.
This is necessary because the first argument in args is silently dropped in _select.
Note: the wrong order of arguments should probably give a compile time error (which currently does not happen).
PiperOrigin-RevId: 238669869
diff --git a/lib/intl.dart b/lib/intl.dart
index 7928559..0981c86 100644
--- a/lib/intl.dart
+++ b/lib/intl.dart
@@ -459,6 +459,8 @@
/// toString() of the enum and using just the name part. We will
/// do this for any class or strings that are passed, since we
/// can't actually identify if something is an enum or not.
+ ///
+ /// The first argument in [args] must correspond to the [choice] Object.
static String select(Object choice, Map<Object, String> cases,
{String desc,
Map<String, Object> examples,