toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"path": path,
"url": url,
"contentType": contentType,
"id": id,
"metadata": metadata,
"createdAt": createdAt.toString(),
}.clearNulls();