patterns method

Future<Iterable<PatternInfo>> patterns(
  1. String cube
)

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));
}