Photo class Null safety

Metadata that is specific to a photo, such as, ISO, focal length and exposure time.

Some of these fields may be null or not included.

Constructors

Photo({double? apertureFNumber, String? cameraMake, String? cameraModel, String? exposureTime, double? focalLength, int? isoEquivalent})
Photo.fromJson(Map json_)

Properties

apertureFNumber double?
Aperture f number of the camera lens with which the photo was taken.
read / write
cameraMake String?
Brand of the camera with which the photo was taken.
read / write
cameraModel String?
Model of the camera with which the photo was taken.
read / write
exposureTime String?
Exposure time of the camera aperture when the photo was taken.
read / write
focalLength double?
Focal length of the camera lens with which the photo was taken.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
isoEquivalent int?
ISO of the camera with which the photo was taken.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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