PositionedObjectPositioningSuggestionState.fromJson constructor

PositionedObjectPositioningSuggestionState.fromJson(
  1. Map json_
)

Implementation

PositionedObjectPositioningSuggestionState.fromJson(core.Map json_)
    : this(
        layoutSuggested: json_.containsKey('layoutSuggested')
            ? json_['layoutSuggested'] as core.bool
            : null,
        leftOffsetSuggested: json_.containsKey('leftOffsetSuggested')
            ? json_['leftOffsetSuggested'] as core.bool
            : null,
        topOffsetSuggested: json_.containsKey('topOffsetSuggested')
            ? json_['topOffsetSuggested'] as core.bool
            : null,
      );