Bullet.fromJson constructor

Bullet.fromJson(
  1. Map json_
)

Implementation

Bullet.fromJson(core.Map json_)
    : this(
        bulletStyle: json_.containsKey('bulletStyle')
            ? TextStyle.fromJson(
                json_['bulletStyle'] as core.Map<core.String, core.dynamic>)
            : null,
        glyph:
            json_.containsKey('glyph') ? json_['glyph'] as core.String : null,
        listId: json_.containsKey('listId')
            ? json_['listId'] as core.String
            : null,
        nestingLevel: json_.containsKey('nestingLevel')
            ? json_['nestingLevel'] as core.int
            : null,
      );