ChatAuthor constructor
const
ChatAuthor({
- required String id,
- required String name,
- ImageProvider<
Object> ? avatar,
Creates a new ChatAuthor with the specified id, name, and optional
avatar.
Implementation
const ChatAuthor({
required this.id,
required this.name,
this.avatar,
});