spotube/lib/helpers/artist-to-string.dart
2022-01-06 18:37:47 +06:00

6 lines
159 B
Dart

import 'package:spotify/spotify.dart';
String artistsToString(List<Artist> artists) {
return artists.map((e) => e.name?.replaceAll(",", " ")).join(", ");
}