author property

ChatAuthor author
final

Author of the message.

Example:


@override
Widget build(BuildContext context) {
 return SfChat(
   messages: [
     ChatMessage(
       author: ChatAuthor(id: '123-001', name: 'Chat A'),
     ),
   ],
 );
}

Implementation

final ChatAuthor author;