toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowVerticalScale != null)
        'allowVerticalScale': allowVerticalScale!,
      if (enabled != null) 'enabled': enabled!,
      if (git != null) 'git': git!,
      if (metricsGcpServiceAccountEmail != null)
        'metricsGcpServiceAccountEmail': metricsGcpServiceAccountEmail!,
      if (oci != null) 'oci': oci!,
      if (preventDrift != null) 'preventDrift': preventDrift!,
      if (sourceFormat != null) 'sourceFormat': sourceFormat!,
    };