mirror of
https://github.com/tommyxchow/frosty.git
synced 2025-05-19 23:46:32 +08:00
25 lines
795 B
Dart
25 lines
795 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'category.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
CategoryTwitch _$CategoryTwitchFromJson(Map<String, dynamic> json) =>
|
|
CategoryTwitch(
|
|
json['box_art_url'] as String,
|
|
json['id'] as String,
|
|
json['name'] as String,
|
|
);
|
|
|
|
CategoriesTwitch _$CategoriesTwitchFromJson(Map<String, dynamic> json) =>
|
|
CategoriesTwitch(
|
|
(json['data'] as List<dynamic>)
|
|
.map((e) => CategoryTwitch.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
(json['pagination'] as Map<String, dynamic>?)?.map(
|
|
(k, e) => MapEntry(k, e as String),
|
|
),
|
|
);
|