Skip to content

Commit

Permalink
Added support for type-safety
Browse files Browse the repository at this point in the history
  • Loading branch information
ragingprodigy committed Apr 2, 2021
1 parent 1f4bc9d commit 5ade549
Show file tree
Hide file tree
Showing 34 changed files with 1,632 additions and 1,646 deletions.
2 changes: 1 addition & 1 deletion lib/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ String enumStringToName(String enumString) {
/// Formats a list of [items] to a comma(,) separated string to pass it as a
/// URL parameter.
String listToUrlString<T>(List<T> items) {
if (items == null || items.length == 0) return '';
if (items.length == 0) return '';

return items.join(',');
}
Expand Down
Loading

0 comments on commit 5ade549

Please sign in to comment.