toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.buildDate != null) {
json[r'BuildDate'] = this.buildDate;
} else {
json[r'BuildDate'] = null;
}
if (this.compiler != null) {
json[r'Compiler'] = this.compiler;
} else {
json[r'Compiler'] = null;
}
if (this.goVersion != null) {
json[r'GoVersion'] = this.goVersion;
} else {
json[r'GoVersion'] = null;
}
if (this.platform != null) {
json[r'Platform'] = this.platform;
} else {
json[r'Platform'] = null;
}
if (this.version != null) {
json[r'Version'] = this.version;
} else {
json[r'Version'] = null;
}
return json;
}