toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (categories != null) 'categories': categories!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (etag != null) 'etag': etag!,
      if (name != null) 'name': name!,
      if (policySets != null) 'policySets': policySets!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };