toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    "\$id": $id,
    "\$createdAt": $createdAt,
    "\$updatedAt": $updatedAt,
    "videoId": videoId,
    "profileId": profileId,
    "name": name,
    "startedAt": startedAt,
    "endedAt": endedAt,
    "width": width,
    "height": height,
    "videoBitRate": videoBitRate,
    "audioBitRate": audioBitRate,
    "targetDuration": targetDuration,
    "status": status.value,
    "error": error,
    "progress": progress,
    "output": output.value,
    "codec": codec.value,
    "size": size,
  };
}