toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'aperture': aperture,
    'cameraMake': cameraMake,
    'cameraModel': cameraModel,
    'colorSpace': colorSpace,
    'exposureBias': exposureBias,
    'exposureMode': exposureMode,
    'exposureTime': exposureTime,
    'flashUsed': flashUsed,
    'focalLenght': focalLenght,
    'height': height,
    'isoSpeed': isoSpeed,
    'lens': lens,
    'location': location?.toMap(),
    'maxApertureValue': maxApertureValue,
    'meteringMode': meteringMode,
    'sensor': sensor,
    'subjectDistance': subjectDistance,
    'exifTime': exifTime,
    'whiteBalance': whiteBalance,
    'width': width,
  };
}