TextFormatRun.fromJson constructor

TextFormatRun.fromJson(
  1. Map json_
)

Implementation

TextFormatRun.fromJson(core.Map json_)
  : this(
      format: json_.containsKey('format')
          ? TextFormat.fromJson(
              json_['format'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      startIndex: json_['startIndex'] as core.int?,
    );