toMap method
Implementation
Map<String, String> toMap() {
final map = <String, String>{
'pub': pub,
'epub': epub,
};
if (priv != null) {
map['priv'] = priv!;
}
if (epriv != null) {
map['epriv'] = epriv!;
}
return map;
}