Bullet.fromJson constructor

Bullet.fromJson(
  1. Map json_
)

Implementation

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