CropProperties.fromJson constructor

CropProperties.fromJson(
  1. Map json_
)

Implementation

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