DocumentStyleSuggestionState.fromJson constructor
DocumentStyleSuggestionState.fromJson(
- Map json_
Implementation
DocumentStyleSuggestionState.fromJson(core.Map json_)
: this(
backgroundSuggestionState:
json_.containsKey('backgroundSuggestionState')
? BackgroundSuggestionState.fromJson(
json_['backgroundSuggestionState']
as core.Map<core.String, core.dynamic>)
: null,
defaultFooterIdSuggested:
json_.containsKey('defaultFooterIdSuggested')
? json_['defaultFooterIdSuggested'] as core.bool
: null,
defaultHeaderIdSuggested:
json_.containsKey('defaultHeaderIdSuggested')
? json_['defaultHeaderIdSuggested'] as core.bool
: null,
evenPageFooterIdSuggested:
json_.containsKey('evenPageFooterIdSuggested')
? json_['evenPageFooterIdSuggested'] as core.bool
: null,
evenPageHeaderIdSuggested:
json_.containsKey('evenPageHeaderIdSuggested')
? json_['evenPageHeaderIdSuggested'] as core.bool
: null,
firstPageFooterIdSuggested:
json_.containsKey('firstPageFooterIdSuggested')
? json_['firstPageFooterIdSuggested'] as core.bool
: null,
firstPageHeaderIdSuggested:
json_.containsKey('firstPageHeaderIdSuggested')
? json_['firstPageHeaderIdSuggested'] as core.bool
: null,
flipPageOrientationSuggested:
json_.containsKey('flipPageOrientationSuggested')
? json_['flipPageOrientationSuggested'] as core.bool
: null,
marginBottomSuggested: json_.containsKey('marginBottomSuggested')
? json_['marginBottomSuggested'] as core.bool
: null,
marginFooterSuggested: json_.containsKey('marginFooterSuggested')
? json_['marginFooterSuggested'] as core.bool
: null,
marginHeaderSuggested: json_.containsKey('marginHeaderSuggested')
? json_['marginHeaderSuggested'] as core.bool
: null,
marginLeftSuggested: json_.containsKey('marginLeftSuggested')
? json_['marginLeftSuggested'] as core.bool
: null,
marginRightSuggested: json_.containsKey('marginRightSuggested')
? json_['marginRightSuggested'] as core.bool
: null,
marginTopSuggested: json_.containsKey('marginTopSuggested')
? json_['marginTopSuggested'] as core.bool
: null,
pageNumberStartSuggested:
json_.containsKey('pageNumberStartSuggested')
? json_['pageNumberStartSuggested'] as core.bool
: null,
pageSizeSuggestionState: json_.containsKey('pageSizeSuggestionState')
? SizeSuggestionState.fromJson(json_['pageSizeSuggestionState']
as core.Map<core.String, core.dynamic>)
: null,
useCustomHeaderFooterMarginsSuggested:
json_.containsKey('useCustomHeaderFooterMarginsSuggested')
? json_['useCustomHeaderFooterMarginsSuggested'] as core.bool
: null,
useEvenPageHeaderFooterSuggested:
json_.containsKey('useEvenPageHeaderFooterSuggested')
? json_['useEvenPageHeaderFooterSuggested'] as core.bool
: null,
useFirstPageHeaderFooterSuggested:
json_.containsKey('useFirstPageHeaderFooterSuggested')
? json_['useFirstPageHeaderFooterSuggested'] as core.bool
: null,
);