CropPropertiesSuggestionState.fromJson constructor

CropPropertiesSuggestionState.fromJson(
  1. Map json_
)

Implementation

CropPropertiesSuggestionState.fromJson(core.Map json_)
    : this(
        angleSuggested: json_.containsKey('angleSuggested')
            ? json_['angleSuggested'] as core.bool
            : null,
        offsetBottomSuggested: json_.containsKey('offsetBottomSuggested')
            ? json_['offsetBottomSuggested'] as core.bool
            : null,
        offsetLeftSuggested: json_.containsKey('offsetLeftSuggested')
            ? json_['offsetLeftSuggested'] as core.bool
            : null,
        offsetRightSuggested: json_.containsKey('offsetRightSuggested')
            ? json_['offsetRightSuggested'] as core.bool
            : null,
        offsetTopSuggested: json_.containsKey('offsetTopSuggested')
            ? json_['offsetTopSuggested'] as core.bool
            : null,
      );