toMap method

Map<String, dynamic> toMap()

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,
  };
}