InsertableImage.fromJson constructor

InsertableImage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory InsertableImage.fromJson(Map<String, dynamic> json) {
  return InsertableImage(
    duration: json['duration'] as int?,
    fadeIn: json['fadeIn'] as int?,
    fadeOut: json['fadeOut'] as int?,
    height: json['height'] as int?,
    imageInserterInput: json['imageInserterInput'] as String?,
    imageX: json['imageX'] as int?,
    imageY: json['imageY'] as int?,
    layer: json['layer'] as int?,
    opacity: json['opacity'] as int?,
    startTime: json['startTime'] as String?,
    width: json['width'] as int?,
  );
}