Photo.fromJson constructor

Photo.fromJson(
  1. Map json_
)

Implementation

Photo.fromJson(core.Map json_)
    : this(
        apertureFNumber: json_.containsKey('apertureFNumber')
            ? (json_['apertureFNumber'] as core.num).toDouble()
            : null,
        cameraMake: json_.containsKey('cameraMake')
            ? json_['cameraMake'] as core.String
            : null,
        cameraModel: json_.containsKey('cameraModel')
            ? json_['cameraModel'] as core.String
            : null,
        exposureTime: json_.containsKey('exposureTime')
            ? json_['exposureTime'] as core.String
            : null,
        focalLength: json_.containsKey('focalLength')
            ? (json_['focalLength'] as core.num).toDouble()
            : null,
        isoEquivalent: json_.containsKey('isoEquivalent')
            ? json_['isoEquivalent'] as core.int
            : null,
      );