FFMediaDisplay constructor

FFMediaDisplay({
  1. String? legacyPath,
  2. FFImage? image,
  3. FFVideoPlayer? videoPlayer,
  4. bool? displayingImage,
  5. FFStringValue? pathValue,
})

Implementation

factory FFMediaDisplay({
  $core.String? legacyPath,
  FFImage? image,
  FFVideoPlayer? videoPlayer,
  $core.bool? displayingImage,
  FFStringValue? pathValue,
}) {
  final result = create();
  if (legacyPath != null) result.legacyPath = legacyPath;
  if (image != null) result.image = image;
  if (videoPlayer != null) result.videoPlayer = videoPlayer;
  if (displayingImage != null) result.displayingImage = displayingImage;
  if (pathValue != null) result.pathValue = pathValue;
  return result;
}