toJson method
Implementation
Map<String, dynamic> toJson() {
final status = this.status;
final encryptionDisabled = this.encryptionDisabled;
final location = this.location;
return {
'status': status.toValue(),
if (encryptionDisabled != null) 'encryptionDisabled': encryptionDisabled,
if (location != null) 'location': location,
};
}