TextRun.fromJson constructor

TextRun.fromJson(
  1. Map json_
)

Implementation

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