CropProperties.fromJson constructor
CropProperties.fromJson(
- Map json_
Implementation
CropProperties.fromJson(core.Map json_)
: this(
angle: json_.containsKey('angle')
? (json_['angle'] as core.num).toDouble()
: null,
offsetBottom: json_.containsKey('offsetBottom')
? (json_['offsetBottom'] as core.num).toDouble()
: null,
offsetLeft: json_.containsKey('offsetLeft')
? (json_['offsetLeft'] as core.num).toDouble()
: null,
offsetRight: json_.containsKey('offsetRight')
? (json_['offsetRight'] as core.num).toDouble()
: null,
offsetTop: json_.containsKey('offsetTop')
? (json_['offsetTop'] as core.num).toDouble()
: null,
);