AutoText.fromJson constructor

AutoText.fromJson(
  1. Map json_
)

Implementation

AutoText.fromJson(core.Map json_)
  : this(
      content: json_['content'] as core.String?,
      style:
          json_.containsKey('style')
              ? TextStyle.fromJson(
                json_['style'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      type: json_['type'] as core.String?,
    );