toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
  if (description != null) 'description': description!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (name != null) 'name': name!,
  if (requestedRunDuration != null)
    'requestedRunDuration': requestedRunDuration!,
  if (resizeBy != null) 'resizeBy': resizeBy!,
  if (selfLink != null) 'selfLink': selfLink!,
  if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
  if (state != null) 'state': state!,
  if (status != null) 'status': status!,
  if (zone != null) 'zone': zone!,
};