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_['glyph'] as core.String?,
      listId: json_['listId'] as core.String?,
      nestingLevel: json_['nestingLevel'] as core.int?,
    );