FilterSearchAndReplaceDetails.fromJson constructor

FilterSearchAndReplaceDetails.fromJson(
  1. Map json_
)

Implementation

FilterSearchAndReplaceDetails.fromJson(core.Map json_)
    : this(
        caseSensitive: json_.containsKey('caseSensitive')
            ? json_['caseSensitive'] as core.bool
            : null,
        field:
            json_.containsKey('field') ? json_['field'] as core.String : null,
        fieldIndex: json_.containsKey('fieldIndex')
            ? json_['fieldIndex'] as core.int
            : null,
        replaceString: json_.containsKey('replaceString')
            ? json_['replaceString'] as core.String
            : null,
        searchString: json_.containsKey('searchString')
            ? json_['searchString'] as core.String
            : null,
      );