NestingLevel.fromJson constructor

NestingLevel.fromJson(
  1. Map json_
)

Implementation

NestingLevel.fromJson(core.Map json_)
  : this(
      bulletAlignment: json_['bulletAlignment'] as core.String?,
      glyphFormat: json_['glyphFormat'] as core.String?,
      glyphSymbol: json_['glyphSymbol'] as core.String?,
      glyphType: json_['glyphType'] as core.String?,
      indentFirstLine: json_.containsKey('indentFirstLine')
          ? Dimension.fromJson(
              json_['indentFirstLine'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      indentStart: json_.containsKey('indentStart')
          ? Dimension.fromJson(
              json_['indentStart'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      startNumber: json_['startNumber'] as core.int?,
      textStyle: json_.containsKey('textStyle')
          ? TextStyle.fromJson(
              json_['textStyle'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );