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 (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (region != null) 'region': region!,
      if (securityPolicy != null) 'securityPolicy': securityPolicy!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
    };