ImagePropertiesSuggestionState.fromJson constructor

ImagePropertiesSuggestionState.fromJson(
  1. Map json_
)

Implementation

ImagePropertiesSuggestionState.fromJson(core.Map json_)
  : this(
      angleSuggested: json_['angleSuggested'] as core.bool?,
      brightnessSuggested: json_['brightnessSuggested'] as core.bool?,
      contentUriSuggested: json_['contentUriSuggested'] as core.bool?,
      contrastSuggested: json_['contrastSuggested'] as core.bool?,
      cropPropertiesSuggestionState:
          json_.containsKey('cropPropertiesSuggestionState')
              ? CropPropertiesSuggestionState.fromJson(
                json_['cropPropertiesSuggestionState']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      sourceUriSuggested: json_['sourceUriSuggested'] as core.bool?,
      transparencySuggested: json_['transparencySuggested'] as core.bool?,
    );