24 lines
970 B
Dart
24 lines
970 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'plex_media_version.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
PlexMediaVersion _$PlexMediaVersionFromJson(Map<String, dynamic> json) =>
|
|
PlexMediaVersion(
|
|
id: _flexibleIntOrZero(json['id']),
|
|
videoResolution: readStringField(json, 'videoResolution') as String?,
|
|
videoCodec: readStringField(json, 'videoCodec') as String?,
|
|
bitrate: flexibleInt(json['bitrate']),
|
|
width: flexibleInt(json['width']),
|
|
height: flexibleInt(json['height']),
|
|
container: readStringField(json, 'container') as String?,
|
|
partKey: _readPartKey(json, 'partKey') as String,
|
|
accessible: _flexibleBoolNullable(
|
|
_readPartAccessible(json, 'accessible'),
|
|
),
|
|
exists: _flexibleBoolNullable(_readPartExists(json, 'exists')),
|
|
);
|