id property

String id
final

Unique identifier for the author.

Example:


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

Implementation

final String id;