toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (name != null) "name": encodeValue(name),
if (alias != null) "alias": encodeValue(alias),
if (description != null) "description": encodeValue(description),
if (legalEntityType != null)
"legal_entity_type": encodeValue(legalEntityType),
};