toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (configSteps != null)
        'configSteps': configSteps!.map((value) => value.toJson()).toList(),
      if (execResourceOutput != null)
        'execResourceOutput': execResourceOutput!.toJson(),
      if (osPolicyResourceId != null)
        'osPolicyResourceId': osPolicyResourceId!,
      if (state != null) 'state': state!,
    };