PhotoMetadata class

Annotations
  • @freezed

Constructors

PhotoMetadata({required String photoReference, required int width, required int height, required String attributions})
const
factory
PhotoMetadata.fromJson(Map<String, Object?> json)
Parse an PhotoMetadata from json.
factory

Properties

attributions String
The attributions that must be shown to the user if this photo is displayed.
no setterinherited
copyWith → $PhotoMetadataCopyWith<PhotoMetadata>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height int
The maximum height in which this photo is available.
no setterinherited
photoReference String
Non-empty String used to identify the underlying photo.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The maximum width in which this photo is available.
no setterinherited

Methods

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

Operators

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