toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (levelId != null) {
json[r'LevelId'] = levelId;
}
if (name != null) {
json[r'Name'] = name;
}
if (description != null) {
json[r'Description'] = description;
}
if (externalObjectType != null) {
json[r'ExternalObjectType'] = externalObjectType;
}
return json;
}