ReplaceAllTextRequest.fromJson constructor

ReplaceAllTextRequest.fromJson(
  1. Map json_
)

Implementation

ReplaceAllTextRequest.fromJson(core.Map json_)
    : this(
        containsText: json_.containsKey('containsText')
            ? SubstringMatchCriteria.fromJson(
                json_['containsText'] as core.Map<core.String, core.dynamic>)
            : null,
        pageObjectIds: json_.containsKey('pageObjectIds')
            ? (json_['pageObjectIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        replaceText: json_.containsKey('replaceText')
            ? json_['replaceText'] as core.String
            : null,
      );