toJson method
Implementation
Map<String, Object?> toJson() => <String, Object?>{
'project': project,
'target': target,
'profile': profile,
if (publish != null) 'publish': publish,
if (dryRun) 'dryRun': true,
if (app != '.') 'app': app,
if (format != null) 'format': format,
if (!codesign) 'codesign': false,
if (simulator) 'simulator': true,
if (os != null) 'os': os!.name,
};