CommentRequest class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

CommentRequest.new({CommentType? entityType, int? entityId, String? body})
CommentRequest.fromJson(Map<String, dynamic> json)
factory

Properties

body String?
final
entityId int?
final
entityType CommentType?
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({CommentType? entityType, int? entityId, String? body}) CommentRequest

Available on CommentRequest, provided by the $CommentRequestExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const CommentRequest Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(CommentRequest instance)