toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (name != null) {
json[r'Name'] = name;
}
if (processor != null) {
json[r'Processor'] = processor;
}
if (assemblyVersion != null) {
json[r'AssemblyVersion'] = assemblyVersion;
}
if (fileVersion != null) {
json[r'FileVersion'] = fileVersion;
}
if (productVersion != null) {
json[r'ProductVersion'] = productVersion;
}
if (company != null) {
json[r'Company'] = company;
}
if (copyright != null) {
json[r'Copyright'] = copyright;
}
if (size != null) {
json[r'Size'] = size;
}
if (lastModified != null) {
json[r'LastModified'] = lastModified.toUtc().toIso8601String();
}
if (dateCreated != null) {
json[r'DateCreated'] = dateCreated.toUtc().toIso8601String();
}
return json;
}