ImageProperties.fromJson constructor
ImageProperties.fromJson(
- Map json_
Implementation
ImageProperties.fromJson(core.Map json_)
: this(
angle: json_.containsKey('angle')
? (json_['angle'] as core.num).toDouble()
: null,
brightness: json_.containsKey('brightness')
? (json_['brightness'] as core.num).toDouble()
: null,
contentUri: json_.containsKey('contentUri')
? json_['contentUri'] as core.String
: null,
contrast: json_.containsKey('contrast')
? (json_['contrast'] as core.num).toDouble()
: null,
cropProperties: json_.containsKey('cropProperties')
? CropProperties.fromJson(json_['cropProperties']
as core.Map<core.String, core.dynamic>)
: null,
sourceUri: json_.containsKey('sourceUri')
? json_['sourceUri'] as core.String
: null,
transparency: json_.containsKey('transparency')
? (json_['transparency'] as core.num).toDouble()
: null,
);