ChatUser constructor
ChatUser({
- required String id,
- required String name,
- String? profilePhoto,
- String defaultAvatarImage = profileImage,
- ImageType imageType = ImageType.network,
- AssetImageErrorBuilder? assetImageErrorBuilder,
- NetworkImageErrorBuilder? networkImageErrorBuilder,
- NetworkImageProgressIndicatorBuilder? networkImageProgressIndicatorBuilder,
Implementation
ChatUser({
required this.id,
required this.name,
this.profilePhoto,
this.defaultAvatarImage = profileImage,
this.imageType = ImageType.network,
this.assetImageErrorBuilder,
this.networkImageErrorBuilder,
this.networkImageProgressIndicatorBuilder,
});