toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiMethod != null) 'apiMethod': apiMethod!,
      if (osPolicyAssignment != null)
        'osPolicyAssignment': osPolicyAssignment!,
      if (rolloutStartTime != null) 'rolloutStartTime': rolloutStartTime!,
      if (rolloutState != null) 'rolloutState': rolloutState!,
      if (rolloutUpdateTime != null) 'rolloutUpdateTime': rolloutUpdateTime!,
    };