serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeStringValue('device_fingerprint', deviceFingerprint);
writer.writeStringValue('ip_address', ipAddress);
writer.writeStringValue('location', location);
writer.writeStringValue('name', name);
writer.writeStringValue('phone_number', phoneNumber);
writer.writeEnumValue<IssuingNetworkTokenDeviceType>(
'type', type_, (e) => e?.value);
writer.writeAdditionalData(additionalData);
}