toJson method

Map<String, dynamic> toJson()

Implementation

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