VideoMessage.fromPartial constructor
VideoMessage.fromPartial({})
Creates a full video message from a partial one.
Implementation
factory VideoMessage.fromPartial({
required User author,
int? createdAt,
required String id,
required PartialVideo partialVideo,
String? remoteId,
String? roomId,
bool? showStatus,
Status? status,
int? updatedAt,
}) =>
_VideoMessage(
author: author,
createdAt: createdAt,
height: partialVideo.height,
id: id,
metadata: partialVideo.metadata,
name: partialVideo.name,
remoteId: remoteId,
repliedMessage: partialVideo.repliedMessage,
roomId: roomId,
showStatus: showStatus,
size: partialVideo.size,
status: status,
type: MessageType.video,
updatedAt: updatedAt,
uri: partialVideo.uri,
width: partialVideo.width,
);