toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"\$createdAt": $createdAt,
"\$updatedAt": $updatedAt,
"\$permissions": $permissions,
"bucketId": bucketId,
"fileId": fileId,
"name": name,
"size": size,
"format": format,
"duration": duration,
"width": width,
"height": height,
"aspectRatio": aspectRatio,
"videoCodec": videoCodec,
"videoFormat": videoFormat,
"videoFormatProfile": videoFormatProfile,
"videoBitRate": videoBitRate,
"videoFrameRate": videoFrameRate,
"videoFrameRateMode": videoFrameRateMode,
"audioCodec": audioCodec,
"audioFormat": audioFormat,
"audioBitRate": audioBitRate,
"audioSampleRate": audioSampleRate,
"timelineStatus": timelineStatus.value,
"timelineError": timelineError,
};
}