toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.classLoaderName != null) {
json[r'classLoaderName'] = this.classLoaderName;
} else {
json[r'classLoaderName'] = null;
}
if (this.moduleName != null) {
json[r'moduleName'] = this.moduleName;
} else {
json[r'moduleName'] = null;
}
if (this.moduleVersion != null) {
json[r'moduleVersion'] = this.moduleVersion;
} else {
json[r'moduleVersion'] = null;
}
if (this.methodName != null) {
json[r'methodName'] = this.methodName;
} else {
json[r'methodName'] = null;
}
if (this.fileName != null) {
json[r'fileName'] = this.fileName;
} else {
json[r'fileName'] = null;
}
if (this.lineNumber != null) {
json[r'lineNumber'] = this.lineNumber;
} else {
json[r'lineNumber'] = null;
}
if (this.nativeMethod != null) {
json[r'nativeMethod'] = this.nativeMethod;
} else {
json[r'nativeMethod'] = null;
}
if (this.className != null) {
json[r'className'] = this.className;
} else {
json[r'className'] = null;
}
return json;
}