CellFormat.fromJson constructor
CellFormat.fromJson(
- Map json_
Implementation
CellFormat.fromJson(core.Map json_)
: this(
backgroundColor: json_.containsKey('backgroundColor')
? Color.fromJson(json_['backgroundColor']
as core.Map<core.String, core.dynamic>)
: null,
backgroundColorStyle: json_.containsKey('backgroundColorStyle')
? ColorStyle.fromJson(json_['backgroundColorStyle']
as core.Map<core.String, core.dynamic>)
: null,
borders: json_.containsKey('borders')
? Borders.fromJson(
json_['borders'] as core.Map<core.String, core.dynamic>)
: null,
horizontalAlignment: json_.containsKey('horizontalAlignment')
? json_['horizontalAlignment'] as core.String
: null,
hyperlinkDisplayType: json_.containsKey('hyperlinkDisplayType')
? json_['hyperlinkDisplayType'] as core.String
: null,
numberFormat: json_.containsKey('numberFormat')
? NumberFormat.fromJson(
json_['numberFormat'] as core.Map<core.String, core.dynamic>)
: null,
padding: json_.containsKey('padding')
? Padding.fromJson(
json_['padding'] as core.Map<core.String, core.dynamic>)
: null,
textDirection: json_.containsKey('textDirection')
? json_['textDirection'] as core.String
: null,
textFormat: json_.containsKey('textFormat')
? TextFormat.fromJson(
json_['textFormat'] as core.Map<core.String, core.dynamic>)
: null,
textRotation: json_.containsKey('textRotation')
? TextRotation.fromJson(
json_['textRotation'] as core.Map<core.String, core.dynamic>)
: null,
verticalAlignment: json_.containsKey('verticalAlignment')
? json_['verticalAlignment'] as core.String
: null,
wrapStrategy: json_.containsKey('wrapStrategy')
? json_['wrapStrategy'] as core.String
: null,
);