toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (dryRun != null) 'dryRun': dryRun!,
      if (duration != null) 'duration': duration!,
      if (instanceFilter != null) 'instanceFilter': instanceFilter!,
      if (patchConfig != null) 'patchConfig': patchConfig!,
      if (rollout != null) 'rollout': rollout!,
    };