toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (name != null) 'name': name!,
      if (privatePoolV1Config != null)
        'privatePoolV1Config': privatePoolV1Config!,
      if (state != null) 'state': state!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };