TextSpan.fromJson constructor

TextSpan.fromJson(
  1. Map json_
)

Implementation

TextSpan.fromJson(core.Map json_)
  : this(
      beginOffset: json_['beginOffset'] as core.int?,
      content: json_['content'] as core.String?,
    );