UploadReceipt.fromJson constructor
Implementation
factory UploadReceipt.fromJson(Map<String, Object?> json) => UploadReceipt(
contentType: json["content_type"] as String,
createdAt: decodeDateTime(json["created_at"]),
filename: json["filename"] == null ? null : json["filename"] as String,
id: json["id"] as String,
name: json["name"] == null ? null : json["name"] as String,
size: (json["size"] as num).toInt(),
status: Status.fromJson(json["status"]),
);