fromJson static method
Implementation
static VideoStoryboard? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return VideoStoryboard(
storyboardFile:
File.fromJson(json['storyboard_file'] as Map<String, dynamic>?)!,
width: (json['width'] as int?) ?? 0,
height: (json['height'] as int?) ?? 0,
mapFile: File.fromJson(json['map_file'] as Map<String, dynamic>?)!,
);
}