toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (description != null) 'description': description!,
  if (etag != null) 'etag': etag!,
  if (name != null) 'name': name!,
  if (perimeterType != null) 'perimeterType': perimeterType!,
  if (spec != null) 'spec': spec!,
  if (status != null) 'status': status!,
  if (title != null) 'title': title!,
  if (useExplicitDryRunSpec != null)
    'useExplicitDryRunSpec': useExplicitDryRunSpec!,
};