EMVideoMessageBody constructor Null safety

EMVideoMessageBody(
  1. {String? localPath,
  2. String? displayName,
  3. int? duration,
  4. String? thumbnailLocalPath,
  5. double? height,
  6. double? width}
)

Implementation

EMVideoMessageBody({
  String? localPath,
  String? displayName,
  this.duration,
  this.thumbnailLocalPath,
  this.height,
  this.width,
}) : super(
        localPath: localPath,
        displayName: displayName,
        type: EMMessageBodyType.VIDEO,
      );