Skip to content

Commit

Permalink
Use = to separate a named parameter from its default value (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU authored and kevmoo committed Mar 19, 2019
1 parent e9e1468 commit 3378136
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/src/tuple.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Tuple2<T1, T2> {
///
/// The elements are in item order. The list is variable-length
/// if [growable] is true.
List toList({bool growable: false}) =>
List toList({bool growable = false}) =>
new List.from([item1, item2], growable: growable);

@override
Expand Down Expand Up @@ -94,7 +94,7 @@ class Tuple3<T1, T2, T3> {
///
/// The elements are in item order. The list is variable-length
/// if [growable] is true.
List toList({bool growable: false}) =>
List toList({bool growable = false}) =>
new List.from([item1, item2, item3], growable: growable);

@override
Expand Down Expand Up @@ -159,7 +159,7 @@ class Tuple4<T1, T2, T3, T4> {
///
/// The elements are in item order. The list is variable-length
/// if [growable] is true.
List toList({bool growable: false}) =>
List toList({bool growable = false}) =>
new List.from([item1, item2, item3, item4], growable: growable);

@override
Expand Down Expand Up @@ -237,7 +237,7 @@ class Tuple5<T1, T2, T3, T4, T5> {
///
/// The elements are in item order. The list is variable-length
/// if [growable] is true.
List toList({bool growable: false}) =>
List toList({bool growable = false}) =>
new List.from([item1, item2, item3, item4, item5], growable: growable);

@override
Expand Down Expand Up @@ -336,7 +336,7 @@ class Tuple6<T1, T2, T3, T4, T5, T6> {
///
/// The elements are in item order. The list is variable-length
/// if [growable] is true.
List toList({bool growable: false}) =>
List toList({bool growable = false}) =>
new List.from([item1, item2, item3, item4, item5, item6],
growable: growable);

Expand Down

0 comments on commit 3378136

Please sign in to comment.