EditPost class

Implemented types
Annotations
  • @freezed

Constructors

EditPost({required int postId, String? name, String? url, String? body, bool? nsfw, required String auth})
const
factory
EditPost.fromJson(Map<String, dynamic> json)
factory

Properties

auth String
no setterinherited
body String?
no setterinherited
copyWith → $EditPostCopyWith<EditPost>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
httpMethod HttpMethod
final
name String?
no setterinherited
nsfw bool?
no setterinherited
path String
final
postId int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
no setterinherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited