SectionStyle.fromJson constructor
SectionStyle.fromJson(
- Map json_
Implementation
SectionStyle.fromJson(core.Map json_)
: this(
columnProperties: json_.containsKey('columnProperties')
? (json_['columnProperties'] as core.List)
.map((value) => SectionColumnProperties.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
columnSeparatorStyle: json_.containsKey('columnSeparatorStyle')
? json_['columnSeparatorStyle'] as core.String
: null,
contentDirection: json_.containsKey('contentDirection')
? json_['contentDirection'] as core.String
: null,
defaultFooterId: json_.containsKey('defaultFooterId')
? json_['defaultFooterId'] as core.String
: null,
defaultHeaderId: json_.containsKey('defaultHeaderId')
? json_['defaultHeaderId'] as core.String
: null,
evenPageFooterId: json_.containsKey('evenPageFooterId')
? json_['evenPageFooterId'] as core.String
: null,
evenPageHeaderId: json_.containsKey('evenPageHeaderId')
? json_['evenPageHeaderId'] as core.String
: null,
firstPageFooterId: json_.containsKey('firstPageFooterId')
? json_['firstPageFooterId'] as core.String
: null,
firstPageHeaderId: json_.containsKey('firstPageHeaderId')
? json_['firstPageHeaderId'] as core.String
: null,
flipPageOrientation: json_.containsKey('flipPageOrientation')
? json_['flipPageOrientation'] as core.bool
: null,
marginBottom: json_.containsKey('marginBottom')
? Dimension.fromJson(
json_['marginBottom'] as core.Map<core.String, core.dynamic>)
: null,
marginFooter: json_.containsKey('marginFooter')
? Dimension.fromJson(
json_['marginFooter'] as core.Map<core.String, core.dynamic>)
: null,
marginHeader: json_.containsKey('marginHeader')
? Dimension.fromJson(
json_['marginHeader'] as core.Map<core.String, core.dynamic>)
: null,
marginLeft: json_.containsKey('marginLeft')
? Dimension.fromJson(
json_['marginLeft'] as core.Map<core.String, core.dynamic>)
: null,
marginRight: json_.containsKey('marginRight')
? Dimension.fromJson(
json_['marginRight'] as core.Map<core.String, core.dynamic>)
: null,
marginTop: json_.containsKey('marginTop')
? Dimension.fromJson(
json_['marginTop'] as core.Map<core.String, core.dynamic>)
: null,
pageNumberStart: json_.containsKey('pageNumberStart')
? json_['pageNumberStart'] as core.int
: null,
sectionType: json_.containsKey('sectionType')
? json_['sectionType'] as core.String
: null,
useFirstPageHeaderFooter:
json_.containsKey('useFirstPageHeaderFooter')
? json_['useFirstPageHeaderFooter'] as core.bool
: null,
);