frosty/lib/models/user.g.dart
tommyxchow 81c18feb45 Add hide blocked users in chat (#55)
Blocked users will be hidden from chat only if the logged in user is not
a mod or not the channel owner.
2021-12-11 00:45:44 -05:00

27 lines
907 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'user.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
UserTwitch _$UserTwitchFromJson(Map<String, dynamic> json) => UserTwitch(
json['id'] as String,
json['login'] as String,
json['display_name'] as String,
json['type'] as String,
json['broadcaster_type'] as String,
json['description'] as String,
json['profile_image_url'] as String,
json['offline_image_url'] as String,
json['view_count'] as int,
json['created_at'] as String,
);
UserBlockedTwitch _$UserBlockedTwitchFromJson(Map<String, dynamic> json) =>
UserBlockedTwitch(
json['user_id'] as String,
json['user_login'] as String,
json['display_name'] as String,
);