TableCellStyleSuggestionState.fromJson constructor

TableCellStyleSuggestionState.fromJson(
  1. Map json_
)

Implementation

TableCellStyleSuggestionState.fromJson(core.Map json_)
    : this(
        backgroundColorSuggested:
            json_.containsKey('backgroundColorSuggested')
                ? json_['backgroundColorSuggested'] as core.bool
                : null,
        borderBottomSuggested: json_.containsKey('borderBottomSuggested')
            ? json_['borderBottomSuggested'] as core.bool
            : null,
        borderLeftSuggested: json_.containsKey('borderLeftSuggested')
            ? json_['borderLeftSuggested'] as core.bool
            : null,
        borderRightSuggested: json_.containsKey('borderRightSuggested')
            ? json_['borderRightSuggested'] as core.bool
            : null,
        borderTopSuggested: json_.containsKey('borderTopSuggested')
            ? json_['borderTopSuggested'] as core.bool
            : null,
        columnSpanSuggested: json_.containsKey('columnSpanSuggested')
            ? json_['columnSpanSuggested'] as core.bool
            : null,
        contentAlignmentSuggested:
            json_.containsKey('contentAlignmentSuggested')
                ? json_['contentAlignmentSuggested'] as core.bool
                : null,
        paddingBottomSuggested: json_.containsKey('paddingBottomSuggested')
            ? json_['paddingBottomSuggested'] as core.bool
            : null,
        paddingLeftSuggested: json_.containsKey('paddingLeftSuggested')
            ? json_['paddingLeftSuggested'] as core.bool
            : null,
        paddingRightSuggested: json_.containsKey('paddingRightSuggested')
            ? json_['paddingRightSuggested'] as core.bool
            : null,
        paddingTopSuggested: json_.containsKey('paddingTopSuggested')
            ? json_['paddingTopSuggested'] as core.bool
            : null,
        rowSpanSuggested: json_.containsKey('rowSpanSuggested')
            ? json_['rowSpanSuggested'] as core.bool
            : null,
      );