frosty/lib/models/stream.g.dart
2021-11-22 01:26:17 -05:00

24 lines
855 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'stream.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
StreamTwitch _$StreamTwitchFromJson(Map<String, dynamic> json) => StreamTwitch(
json['id'] as String,
json['user_id'] as String,
json['user_login'] as String,
json['user_name'] as String,
json['game_id'] as String,
json['game_name'] as String,
json['type'] as String,
json['title'] as String,
json['viewer_count'] as int,
json['started_at'] as String,
json['language'] as String,
json['thumbnail_url'] as String,
(json['tag_ids'] as List<dynamic>?)?.map((e) => e as String).toList(),
json['is_mature'] as bool,
);