CropHintsParams.fromJson constructor

CropHintsParams.fromJson(
  1. Map json_
)

Implementation

CropHintsParams.fromJson(core.Map json_)
    : this(
        aspectRatios: json_.containsKey('aspectRatios')
            ? (json_['aspectRatios'] as core.List)
                .map((value) => (value as core.num).toDouble())
                .toList()
            : null,
      );