MetaDataModel class

Data model to serialize youtube data

Constructors

MetaDataModel({required String? title, required String? authorName, required String? authorUrl, required String? type, required int? height, required int? width, required String? version, required String? providerName, required String? providerUrl, required int? thumbnailHeight, required int? thumbnailWidth, required String? thumbnailUrl, required String? html, required String? url, required String? description})
MetaDataModel.fromMap(Map<String, dynamic> json)
factory

Properties

authorName String?
final
authorUrl String?
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
height int?
final
html String?
final
providerName String?
final
providerUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnailHeight int?
final
thumbnailUrl String?
final
thumbnailWidth int?
final
title String?
final
type String?
final
url String?
final
version String?
final
width int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited