MessageAuthor class

Annotations
  • @freezed

Constructors

MessageAuthor({required int id, required String name, String? company})
const
factory
MessageAuthor.fromJson(Map<String, dynamic> json)
factory
MessageAuthor.fromList(List authorId)
factory

Properties

company String?
no setterinherited
copyWith → $MessageAuthorCopyWith<MessageAuthor>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
name String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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