SheetProperties.fromJson constructor

SheetProperties.fromJson(
  1. Map json_
)

Implementation

SheetProperties.fromJson(core.Map json_)
    : this(
        dataSourceSheetProperties:
            json_.containsKey('dataSourceSheetProperties')
                ? DataSourceSheetProperties.fromJson(
                    json_['dataSourceSheetProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        gridProperties: json_.containsKey('gridProperties')
            ? GridProperties.fromJson(json_['gridProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
        hidden:
            json_.containsKey('hidden') ? json_['hidden'] as core.bool : null,
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
        rightToLeft: json_.containsKey('rightToLeft')
            ? json_['rightToLeft'] as core.bool
            : null,
        sheetId: json_.containsKey('sheetId')
            ? json_['sheetId'] as core.int
            : null,
        sheetType: json_.containsKey('sheetType')
            ? json_['sheetType'] as core.String
            : null,
        tabColor: json_.containsKey('tabColor')
            ? Color.fromJson(
                json_['tabColor'] as core.Map<core.String, core.dynamic>)
            : null,
        tabColorStyle: json_.containsKey('tabColorStyle')
            ? ColorStyle.fromJson(
                json_['tabColorStyle'] as core.Map<core.String, core.dynamic>)
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );