toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (exportLinks != null) 'exportLinks': exportLinks!,
if (id != null) 'id': id!,
if (keepForever != null) 'keepForever': keepForever!,
if (kind != null) 'kind': kind!,
if (lastModifyingUser != null) 'lastModifyingUser': lastModifyingUser!,
if (md5Checksum != null) 'md5Checksum': md5Checksum!,
if (mimeType != null) 'mimeType': mimeType!,
if (modifiedTime != null)
'modifiedTime': modifiedTime!.toUtc().toIso8601String(),
if (originalFilename != null) 'originalFilename': originalFilename!,
if (publishAuto != null) 'publishAuto': publishAuto!,
if (published != null) 'published': published!,
if (publishedLink != null) 'publishedLink': publishedLink!,
if (publishedOutsideDomain != null)
'publishedOutsideDomain': publishedOutsideDomain!,
if (size != null) 'size': size!,
};