toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alternate != null) 'alternate': alternate!,
      if (dryRunSpec != null) 'dryRunSpec': dryRunSpec!,
      if (etag != null) 'etag': etag!,
      if (name != null) 'name': name!,
      if (spec != null) 'spec': spec!,
    };