patterns method
Implementation
Future<Iterable<PatternInfo>> patterns(String cube) async {
final response = await dio.get('/cube/patterns/$cube');
return (response.data as List).map((e) => PatternInfo.fromJson(e));
}
Future<Iterable<PatternInfo>> patterns(String cube) async {
final response = await dio.get('/cube/patterns/$cube');
return (response.data as List).map((e) => PatternInfo.fromJson(e));
}