NestingLevel.fromJson constructor

NestingLevel.fromJson(
  1. Map json_
)

Implementation

NestingLevel.fromJson(core.Map json_)
    : this(
        bulletAlignment: json_.containsKey('bulletAlignment')
            ? json_['bulletAlignment'] as core.String
            : null,
        glyphFormat: json_.containsKey('glyphFormat')
            ? json_['glyphFormat'] as core.String
            : null,
        glyphSymbol: json_.containsKey('glyphSymbol')
            ? json_['glyphSymbol'] as core.String
            : null,
        glyphType: json_.containsKey('glyphType')
            ? json_['glyphType'] as core.String
            : null,
        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_.containsKey('startNumber')
            ? json_['startNumber'] as core.int
            : null,
        textStyle: json_.containsKey('textStyle')
            ? TextStyle.fromJson(
                json_['textStyle'] as core.Map<core.String, core.dynamic>)
            : null,
      );