Files
ReelShort/lib/pages/home/home_feed_channel.dart

15 lines
291 B
Dart

// Author: fruit.com.cn
/// 首页顶栏的三个内容频道。
enum HomeFeedChannel {
anime('ANIME'),
live('LIVE'),
recommend(null);
const HomeFeedChannel(this.apiType);
final String? apiType;
List<String> get apiTypes => apiType == null ? const [] : <String>[apiType!];
}