CropProperties.fromJson constructor

CropProperties.fromJson(
  1. Map json_
)

Implementation

CropProperties.fromJson(core.Map json_)
    : this(
        angle: (json_['angle'] as core.num?)?.toDouble(),
        bottomOffset: (json_['bottomOffset'] as core.num?)?.toDouble(),
        leftOffset: (json_['leftOffset'] as core.num?)?.toDouble(),
        rightOffset: (json_['rightOffset'] as core.num?)?.toDouble(),
        topOffset: (json_['topOffset'] as core.num?)?.toDouble(),
      );