toMap method
Converts instance to a map.
Implementation
Map<String, dynamic> toMap() {
return {
"certificates": certificates?.map((e) => e.toMap()).toList(),
"password": password,
"persistence": persistence?.toNativeValue(),
"username": username,
};
}