toJson method
Get Map from NearbyDeviceInfo.
Implementation
Map<String, dynamic> toJson() {
return {
'id': id,
'displayName': displayName,
};
}
Get Map from NearbyDeviceInfo.
Map<String, dynamic> toJson() {
return {
'id': id,
'displayName': displayName,
};
}