toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final attributes = this.attributes;
  final codeSigning = this.codeSigning;
  final fileLocation = this.fileLocation;
  final fileName = this.fileName;
  final fileType = this.fileType;
  final fileVersion = this.fileVersion;
  return {
    if (attributes != null) 'attributes': attributes,
    if (codeSigning != null) 'codeSigning': codeSigning,
    if (fileLocation != null) 'fileLocation': fileLocation,
    if (fileName != null) 'fileName': fileName,
    if (fileType != null) 'fileType': fileType,
    if (fileVersion != null) 'fileVersion': fileVersion,
  };
}