UpdateConditionalFormatRuleRequest.fromJson constructor

UpdateConditionalFormatRuleRequest.fromJson(
  1. Map json_
)

Implementation

UpdateConditionalFormatRuleRequest.fromJson(core.Map json_)
    : this(
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
        newIndex: json_.containsKey('newIndex')
            ? json_['newIndex'] as core.int
            : null,
        rule: json_.containsKey('rule')
            ? ConditionalFormatRule.fromJson(
                json_['rule'] as core.Map<core.String, core.dynamic>)
            : null,
        sheetId: json_.containsKey('sheetId')
            ? json_['sheetId'] as core.int
            : null,
      );