toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (content != null) 'content': content!,
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (description != null) 'description': description!,
      if (labels != null) 'labels': labels!,
      if (lastUpdateTime != null) 'lastUpdateTime': lastUpdateTime!,
      if (lastUpdater != null) 'lastUpdater': lastUpdater!,
      if (name != null) 'name': name!,
    };