copyWith method

VideoStoryboard copyWith({
  1. File? storyboardFile,
  2. int? width,
  3. int? height,
  4. File? mapFile,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

VideoStoryboard copyWith({
  File? storyboardFile,
  int? width,
  int? height,
  File? mapFile,
}) => VideoStoryboard(
  storyboardFile: storyboardFile ?? this.storyboardFile,
  width: width ?? this.width,
  height: height ?? this.height,
  mapFile: mapFile ?? this.mapFile,
);