toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aperture != null) 'aperture': aperture!,
      if (cameraMake != null) 'cameraMake': cameraMake!,
      if (cameraModel != null) 'cameraModel': cameraModel!,
      if (colorSpace != null) 'colorSpace': colorSpace!,
      if (exposureBias != null) 'exposureBias': exposureBias!,
      if (exposureMode != null) 'exposureMode': exposureMode!,
      if (exposureTime != null) 'exposureTime': exposureTime!,
      if (flashUsed != null) 'flashUsed': flashUsed!,
      if (focalLength != null) 'focalLength': focalLength!,
      if (height != null) 'height': height!,
      if (isoSpeed != null) 'isoSpeed': isoSpeed!,
      if (lens != null) 'lens': lens!,
      if (location != null) 'location': location!,
      if (maxApertureValue != null) 'maxApertureValue': maxApertureValue!,
      if (meteringMode != null) 'meteringMode': meteringMode!,
      if (rotation != null) 'rotation': rotation!,
      if (sensor != null) 'sensor': sensor!,
      if (subjectDistance != null) 'subjectDistance': subjectDistance!,
      if (time != null) 'time': time!,
      if (whiteBalance != null) 'whiteBalance': whiteBalance!,
      if (width != null) 'width': width!,
    };