toMap method

Map toMap()

Return info as Map.

Implementation

Map toMap() {
  return {
    "manufacturer": manufacturer,
    "model": model,
    "version": version,
    "seen": seen,
    "lastSeenAt": lastSeenAt,
    "action": action
  };
}