Compare commits

..

6 Commits

2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -3,6 +3,6 @@
<version>1</version>
</component>
<component name="whatsNew">
<shownVersion>2022.3.1rc10</shownVersion>
<shownVersion>2022.3.1rc11</shownVersion>
</component>
</application>
+10 -3
View File
@@ -1,9 +1,16 @@
<application>
<component name="Translation.Cache">
<option name="lastTrimTime" value="1679905339728" />
<option name="lastTrimTime" value="1680503469492" />
</component>
<component name="Translation.States">
<histories>
<item value="Whether this map contains the given [key]. Returns true if any of the keys in the map are equal to `key` according to the equality used by the map. ```dart final moonCount = &lt;String, int&gt;{'Mercury': 0, 'Venus': 0, 'Earth': 1, 'Mars': 2, 'Jupiter': 79, 'Saturn': 82, 'Uranus': 27, 'Neptune': 14 }; final containsUranus = moonCount.containsKey('Uranus'); true final containsPluto = moonCount.containsKey('Pluto'); false ```" />
<item value="The value for the given [key], or `null` if [key] is not in the map. Some maps allow `null` as a value. For those maps, a lookup using this operator cannot distinguish between a key not being in the map, and the key being there with a `null` value. Methods like [containsKey] or [putIfAbsent] can be used if the distinction is important." />
<item value="Creates a new string by concatenating this string with itself a number of times. The result of `str n` is equivalent to `str + str + ...`(n times)`... + str`. ```dart const string = 'Dart'; final multiplied = string 3; print(multiplied); 'DartDartDart' ``` Returns an empty string if [times] is zero or negative." />
<item value="shuffle" />
<item value="Shuffles the elements of this list randomly. ```dart final numbers = &lt;int&gt;[1, 2, 3, 4, 5]; numbers.shuffle(); print(numbers); [1, 3, 4, 5, 2] OR some other random result. ```" />
<item value="_Labels Pattern" />
<item value="fling" />
<item value="If `test` returns `true`, [onError] is called with the error and possibly stack trace, and the returned future is completed with the result of this call in exactly the same way as for [then]'s `onError`. If `test` is omitted, it defaults to a function that always returns true. The `test` function should not throw, but if it does, it is handled as if the `onError` function had thrown. Note that futures don't delay reporting of errors until listeners are added. If the first `catchError` (or `then`) call happens after this future has completed with an error then the error is reported as unhandled error. See the description on [Future]." />
<item value="If [onError] is not given, and this future completes with an error, the error is forwarded directly to the returned future. In most cases, it is more readable to use [catchError] separately, possibly with a `test` parameter, instead of handling both value and error in a single [then] call. Note that futures don't delay reporting of errors until listeners are added. If the first `then` or `catchError` call happens after this future has completed with an error, then the error is reported as unhandled error. See the description on [Future]." />
<item value="regenerating Story Index" />
@@ -14,8 +21,8 @@
</histories>
<option name="languageScores">
<map>
<entry key="CHINESE" value="6" />
<entry key="ENGLISH" value="7" />
<entry key="CHINESE" value="13" />
<entry key="ENGLISH" value="14" />
</map>
</option>
</component>