Bullet.fromJson constructor

Bullet.fromJson(
  1. Map json_
)

Implementation

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