toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() {
  return <String, dynamic>{
    'isPrivate': isPrivate,
    'lastMessage': lastMessage?.toJSON(),
    'profileIds': profileIds,
    'createdTime': createdTime
  };
}