toMap method

Map<String, dynamic> toMap()

Converts this model to the Map expected by Flutter.

Implementation

Map<String, dynamic> toMap() {
  return {
    'urls': urls,
    'username': username,
    'password': password,
  };
}