serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeBoolValue('authorizer', value: authorizer);
writer.writeBoolValue('director', value: director);
writer.writeBoolValue('executive', value: executive);
writer.writeBoolValue('legal_guardian', value: legalGuardian);
writer.writeBoolValue('owner', value: owner);
writer.writeDoubleValue('percent_ownership', percentOwnership);
writer.writeBoolValue('representative', value: representative);
writer.writeStringValue('title', title);
writer.writeAdditionalData(additionalData);
}