mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
chore: screenshots
This commit is contained in:
@@ -6,4 +6,12 @@ extension ListX<T> on List<T> {
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
List<T> combine(List<T> other, [bool self = true]) {
|
||||
final list = self ? this : List<T>.from(this);
|
||||
for (var i = 0; i < length; i++) {
|
||||
list[i] = other[i];
|
||||
}
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user