FindReplaceRequest.fromJson constructor

FindReplaceRequest.fromJson(
  1. Map json_
)

Implementation

FindReplaceRequest.fromJson(core.Map json_)
    : this(
        allSheets: json_.containsKey('allSheets')
            ? json_['allSheets'] as core.bool
            : null,
        find: json_.containsKey('find') ? json_['find'] as core.String : null,
        includeFormulas: json_.containsKey('includeFormulas')
            ? json_['includeFormulas'] as core.bool
            : null,
        matchCase: json_.containsKey('matchCase')
            ? json_['matchCase'] as core.bool
            : null,
        matchEntireCell: json_.containsKey('matchEntireCell')
            ? json_['matchEntireCell'] as core.bool
            : null,
        range: json_.containsKey('range')
            ? GridRange.fromJson(
                json_['range'] as core.Map<core.String, core.dynamic>)
            : null,
        replacement: json_.containsKey('replacement')
            ? json_['replacement'] as core.String
            : null,
        searchByRegex: json_.containsKey('searchByRegex')
            ? json_['searchByRegex'] as core.bool
            : null,
        sheetId: json_.containsKey('sheetId')
            ? json_['sheetId'] as core.int
            : null,
      );