DeviceMetadata.fromMap constructor
DeviceMetadata.fromMap(
- Map json
Implementation
DeviceMetadata.fromMap(Map json)
: make = _castAsString(json['Make'] ?? null),
model = _castAsString(json['Model'] ?? null),
software = _castAsString(json['Software'] ?? null),
makerNote = _castAsString(json['MakerNote'] ?? null),
cameraOwnerName = _castAsString(json['CameraOwnerName'] ?? null),
bodySerialNumber = _castAsString(json['BodySerialNumber'] ?? null),
lensSpecification = _castAsDoubleMap(json['LensSpecification'] ?? null),
lensMake = _castAsString(json['LensMake'] ?? null),
lensModel = _castAsString(json['LensModel'] ?? null),
lensSerialNumber = _castAsString(json['LensSerialNumber'] ?? null);