toMap method
Return info as Map
.
Implementation
Map toMap() {
return {
"manufacturer": manufacturer,
"model": model,
"version": version,
"seen": seen,
"lastSeenAt": lastSeenAt,
"action": action
};
}
Return info as Map
.
Map toMap() {
return {
"manufacturer": manufacturer,
"model": model,
"version": version,
"seen": seen,
"lastSeenAt": lastSeenAt,
"action": action
};
}