Crop.fromJson constructor
Crop.fromJson(
- Map _json
Implementation
Crop.fromJson(core.Map _json)
: this(
bottomPixels: _json.containsKey('bottomPixels')
? _json['bottomPixels'] as core.int
: null,
leftPixels: _json.containsKey('leftPixels')
? _json['leftPixels'] as core.int
: null,
rightPixels: _json.containsKey('rightPixels')
? _json['rightPixels'] as core.int
: null,
topPixels: _json.containsKey('topPixels')
? _json['topPixels'] as core.int
: null,
);