Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND 2 : 3 : // ignore_for_file: implicit_dynamic_parameter, non_constant_identifier_names, unused_element 4 : 5 : part of 'embed_data.dart'; 6 : 7 : // ************************************************************************** 8 : // JsonSerializableGenerator 9 : // ************************************************************************** 10 : 11 1 : _$_EmbedData _$_$_EmbedDataFromJson(Map<String, dynamic> json) { 12 1 : return _$_EmbedData( 13 1 : authorName: json['author_name'] as String, 14 1 : authorUrl: json['author_url'] as String, 15 1 : embedUrl: json['embed_url'] as String, 16 1 : providerName: json['provider_name'] as String, 17 1 : providerUrl: json['provider_url'] as String, 18 2 : thumbnailHeight: (json['thumbnail_height'] as num).toDouble(), 19 1 : thumbnailUrl: json['thumbnail_url'] as String, 20 2 : thumbnailWidth: (json['thumbnail_width'] as num).toDouble(), 21 1 : html: json['html'] as String, 22 1 : title: json['title'] as String, 23 1 : type: json['type'] as String, 24 1 : version: json['version'] as String, 25 2 : height: (json['height'] as num).toDouble(), 26 2 : width: (json['width'] as num).toDouble(), 27 : ); 28 : } 29 : 30 0 : Map<String, dynamic> _$_$_EmbedDataToJson(_$_EmbedData instance) => 31 0 : <String, dynamic>{ 32 0 : 'author_name': instance.authorName, 33 0 : 'author_url': instance.authorUrl, 34 0 : 'embed_url': instance.embedUrl, 35 0 : 'provider_name': instance.providerName, 36 0 : 'provider_url': instance.providerUrl, 37 0 : 'thumbnail_height': instance.thumbnailHeight, 38 0 : 'thumbnail_url': instance.thumbnailUrl, 39 0 : 'thumbnail_width': instance.thumbnailWidth, 40 0 : 'html': instance.html, 41 0 : 'title': instance.title, 42 0 : 'type': instance.type, 43 0 : 'version': instance.version, 44 0 : 'height': instance.height, 45 0 : 'width': instance.width, 46 : };