GoogleCastImage class

Represents an image for Google Cast.

Constructors

GoogleCastImage.new({required Uri url, int? height, int? width})
Creates a new GoogleCastImage instance.
GoogleCastImage.fromJson(String source)
Creates a GoogleCastImage from a JSON string.
factory
GoogleCastImage.fromMap(Map<String, dynamic> map)
Creates a GoogleCastImage from a map representation.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
height integer optional Height of the image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
url URI URI for the image
final
width int?
width integer optional Width of the image
final

Methods

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

Operators

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