Photo class Null safety

Constructors

Photo({String? photoReference, int? height, int? width, List<String>? htmlAttributions})
Photo.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
height int?
height the maximum height of the image.
final
htmlAttributions List<String>?
htmlAttributions contains any required attributions. This field will always be present, but may be empty.
final
photoReference String?
photoReference a string used to identify the photo when you perform a Photo request.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int?
width the maximum width of the image.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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