Comment constructor
Comment({
- UserDetails? author,
- dynamic body,
- DateTime? created,
- String? id,
- bool? jsdAuthorCanSeeRequest,
- bool? jsdPublic,
- List<
EntityProperty> ? properties, - String? renderedBody,
- String? self,
- UserDetails? updateAuthor,
- DateTime? updated,
- Visibility? visibility,
Implementation
Comment(
{this.author,
this.body,
this.created,
this.id,
bool? jsdAuthorCanSeeRequest,
bool? jsdPublic,
List<EntityProperty>? properties,
this.renderedBody,
this.self,
this.updateAuthor,
this.updated,
this.visibility})
: jsdAuthorCanSeeRequest = jsdAuthorCanSeeRequest ?? false,
jsdPublic = jsdPublic ?? false,
properties = properties ?? [];